home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / lisp / modes / tex-mode.elc < prev    next >
Emacs Compiled Lisp  |  1995-08-29  |  23.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 34 3a 31 30 3a 33 | 32 20 31 39 39 35 0a 3b | 14:10:3|2 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 6d 6f | 64 65 73 2f 74 65 78 2d |/lisp/mo|des/tex-|
|00000090| 6d 6f 64 65 2e 65 6c 0a | 3b 3b 3b 20 65 6d 61 63 |mode.el.|;;; emac|
|000000a0| 73 20 76 65 72 73 69 6f | 6e 20 31 39 2e 31 33 20 |s versio|n 19.13 |
|000000b0| 58 45 6d 61 63 73 20 4c | 75 63 69 64 2e 0a 3b 3b |XEmacs L|ucid..;;|
|000000c0| 3b 20 62 79 74 65 63 6f | 6d 70 20 76 65 72 73 69 |; byteco|mp versi|
|000000d0| 6f 6e 20 32 2e 32 35 3b | 20 31 2d 53 65 70 2d 39 |on 2.25;| 1-Sep-9|
|000000e0| 34 2e 0a 3b 3b 3b 20 6f | 70 74 69 6d 69 7a 61 74 |4..;;; o|ptimizat|
|000000f0| 69 6f 6e 20 69 73 20 6f | 6e 2e 0a 3b 3b 3b 20 74 |ion is o|n..;;; t|
|00000100| 68 69 73 20 66 69 6c 65 | 20 75 73 65 73 20 6f 70 |his file| uses op|
|00000110| 63 6f 64 65 73 20 77 68 | 69 63 68 20 64 6f 20 6e |codes wh|ich do n|
|00000120| 6f 74 20 65 78 69 73 74 | 20 69 6e 20 45 6d 61 63 |ot exist| in Emac|
|00000130| 73 20 31 38 2e 0a 0a 28 | 69 66 20 28 61 6e 64 20 |s 18...(|if (and |
|00000140| 28 62 6f 75 6e 64 70 20 | 27 65 6d 61 63 73 2d 76 |(boundp |'emacs-v|
|00000150| 65 72 73 69 6f 6e 29 0a | 09 20 28 6f 72 20 28 61 |ersion).|. (or (a|
|00000160| 6e 64 20 28 62 6f 75 6e | 64 70 20 27 65 70 6f 63 |nd (boun|dp 'epoc|
|00000170| 68 3a 3a 76 65 72 73 69 | 6f 6e 29 20 65 70 6f 63 |h::versi|on) epoc|
|00000180| 68 3a 3a 76 65 72 73 69 | 6f 6e 29 0a 09 20 20 20 |h::versi|on).. |
|00000190| 20 20 28 73 74 72 69 6e | 67 2d 6c 65 73 73 70 20 | (strin|g-lessp |
|000001a0| 65 6d 61 63 73 2d 76 65 | 72 73 69 6f 6e 20 22 31 |emacs-ve|rsion "1|
|000001b0| 39 22 29 29 29 0a 20 20 | 20 20 28 65 72 72 6f 72 |9"))). | (error|
|000001c0| 20 22 54 68 69 73 20 66 | 69 6c 65 20 77 61 73 20 | "This f|ile was |
|000001d0| 63 6f 6d 70 69 6c 65 64 | 20 66 6f 72 20 45 6d 61 |compiled| for Ema|
|000001e0| 63 73 20 31 39 2e 22 29 | 29 0a 0a 28 72 65 71 75 |cs 19.")|)..(requ|
|000001f0| 69 72 65 20 27 63 6f 6d | 69 6e 74 29 0a 28 64 65 |ire 'com|int).(de|
|00000200| 66 76 61 72 20 74 65 78 | 2d 73 68 65 6c 6c 2d 66 |fvar tex|-shell-f|
|00000210| 69 6c 65 2d 6e 61 6d 65 | 20 6e 69 6c 20 22 5c 0a |ile-name| nil "\.|
|00000220| 2a 49 66 20 6e 6f 6e 2d | 6e 69 6c 2c 20 69 73 20 |*If non-|nil, is |
|00000230| 66 69 6c 65 20 6e 61 6d | 65 20 74 6f 20 75 73 65 |file nam|e to use|
|00000240| 20 66 6f 72 20 74 68 65 | 20 73 75 62 73 68 65 6c | for the| subshel|
|00000250| 6c 20 69 6e 20 77 68 69 | 63 68 20 54 65 58 20 69 |l in whi|ch TeX i|
|00000260| 73 20 72 75 6e 2e 22 29 | 0a 28 64 65 66 76 61 72 |s run.")|.(defvar|
|00000270| 20 74 65 78 2d 64 69 72 | 65 63 74 6f 72 79 20 22 | tex-dir|ectory "|
|00000280| 2e 22 20 22 5c 0a 2a 44 | 69 72 65 63 74 6f 72 79 |." "\.*D|irectory|
|00000290| 20 69 6e 20 77 68 69 63 | 68 20 74 65 6d 70 6f 72 | in whic|h tempor|
|000002a0| 61 72 79 20 66 69 6c 65 | 73 20 61 72 65 20 6c 65 |ary file|s are le|
|000002b0| 66 74 2e 0a 59 6f 75 20 | 63 61 6e 20 6d 61 6b 65 |ft..You |can make|
|000002c0| 20 74 68 69 73 20 2f 74 | 6d 70 20 69 66 20 79 6f | this /t|mp if yo|
|000002d0| 75 72 20 54 45 58 49 4e | 50 55 54 53 20 68 61 73 |ur TEXIN|PUTS has|
|000002e0| 20 6e 6f 20 72 65 6c 61 | 74 69 76 65 20 64 69 72 | no rela|tive dir|
|000002f0| 65 63 74 6f 72 69 65 73 | 20 69 6e 20 69 74 0a 61 |ectories| in it.a|
|00000300| 6e 64 20 79 6f 75 20 64 | 6f 6e 27 74 20 74 72 79 |nd you d|on't try|
|00000310| 20 74 6f 20 61 70 70 6c | 79 20 5c 5c 5b 74 65 78 | to appl|y \\[tex|
|00000320| 2d 72 65 67 69 6f 6e 5d | 20 6f 72 20 5c 5c 5b 74 |-region]| or \\[t|
|00000330| 65 78 2d 62 75 66 66 65 | 72 5d 20 77 68 65 6e 20 |ex-buffe|r] when |
|00000340| 74 68 65 72 65 20 61 72 | 65 0a 5c 5c 69 6e 70 75 |there ar|e.\\inpu|
|00000350| 74 20 63 6f 6d 6d 61 6e | 64 73 20 77 69 74 68 20 |t comman|ds with |
|00000360| 72 65 6c 61 74 69 76 65 | 20 64 69 72 65 63 74 6f |relative| directo|
|00000370| 72 69 65 73 2e 22 29 0a | 28 64 65 66 76 61 72 20 |ries.").|(defvar |
|00000380| 74 65 78 2d 6f 66 66 65 | 72 2d 73 61 76 65 20 74 |tex-offe|r-save t|
|00000390| 20 22 5c 0a 2a 49 66 20 | 6e 6f 6e 2d 6e 69 6c 2c | "\.*If |non-nil,|
|000003a0| 20 61 73 6b 20 61 62 6f | 75 74 20 73 61 76 69 6e | ask abo|ut savin|
|000003b0| 67 20 6d 6f 64 69 66 69 | 65 64 20 62 75 66 66 65 |g modifi|ed buffe|
|000003c0| 72 73 20 62 65 66 6f 72 | 65 20 5c 5c 5b 74 65 78 |rs befor|e \\[tex|
|000003d0| 2d 66 69 6c 65 5d 20 69 | 73 20 72 75 6e 2e 22 29 |-file] i|s run.")|
|000003e0| 0a 28 64 65 66 76 61 72 | 20 74 65 78 2d 72 75 6e |.(defvar| tex-run|
|000003f0| 2d 63 6f 6d 6d 61 6e 64 | 20 22 74 65 78 22 20 22 |-command| "tex" "|
|00000400| 5c 0a 2a 43 6f 6d 6d 61 | 6e 64 20 75 73 65 64 20 |\.*Comma|nd used |
|00000410| 74 6f 20 72 75 6e 20 54 | 65 58 20 73 75 62 6a 6f |to run T|eX subjo|
|00000420| 62 2e 0a 49 66 20 74 68 | 69 73 20 73 74 72 69 6e |b..If th|is strin|
|00000430| 67 20 63 6f 6e 74 61 69 | 6e 73 20 61 6e 20 61 73 |g contai|ns an as|
|00000440| 74 65 72 69 73 6b 20 28 | 2a 29 2c 20 69 74 20 77 |terisk (|*), it w|
|00000450| 69 6c 6c 20 62 65 20 72 | 65 70 6c 61 63 65 64 20 |ill be r|eplaced |
|00000460| 62 79 20 74 68 65 0a 66 | 69 6c 65 6e 61 6d 65 3b |by the.f|ilename;|
|00000470| 20 69 66 20 6e 6f 74 2c | 20 74 68 65 20 6e 61 6d | if not,| the nam|
|00000480| 65 20 6f 66 20 74 68 65 | 20 66 69 6c 65 2c 20 70 |e of the| file, p|
|00000490| 72 65 63 65 64 65 64 20 | 62 79 20 62 6c 61 6e 6b |receded |by blank|
|000004a0| 2c 20 77 69 6c 6c 20 62 | 65 20 61 64 64 65 64 20 |, will b|e added |
|000004b0| 74 6f 0a 74 68 69 73 20 | 73 74 72 69 6e 67 2e 22 |to.this |string."|
|000004c0| 29 0a 28 64 65 66 76 61 | 72 20 6c 61 74 65 78 2d |).(defva|r latex-|
|000004d0| 72 75 6e 2d 63 6f 6d 6d | 61 6e 64 20 22 6c 61 74 |run-comm|and "lat|
|000004e0| 65 78 22 20 22 5c 0a 2a | 43 6f 6d 6d 61 6e 64 20 |ex" "\.*|Command |
|000004f0| 75 73 65 64 20 74 6f 20 | 72 75 6e 20 4c 61 54 65 |used to |run LaTe|
|00000500| 58 20 73 75 62 6a 6f 62 | 2e 0a 49 66 20 74 68 69 |X subjob|..If thi|
|00000510| 73 20 73 74 72 69 6e 67 | 20 63 6f 6e 74 61 69 6e |s string| contain|
|00000520| 73 20 61 6e 20 61 73 74 | 65 72 69 73 6b 20 28 2a |s an ast|erisk (*|
|00000530| 29 2c 20 69 74 20 77 69 | 6c 6c 20 62 65 20 72 65 |), it wi|ll be re|
|00000540| 70 6c 61 63 65 64 20 62 | 79 20 74 68 65 0a 66 69 |placed b|y the.fi|
|00000550| 6c 65 6e 61 6d 65 3b 20 | 69 66 20 6e 6f 74 2c 20 |lename; |if not, |
|00000560| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |the name| of the |
|00000570| 66 69 6c 65 2c 20 70 72 | 65 63 65 64 65 64 20 62 |file, pr|eceded b|
|00000580| 79 20 62 6c 61 6e 6b 2c | 20 77 69 6c 6c 20 62 65 |y blank,| will be|
|00000590| 20 61 64 64 65 64 20 74 | 6f 0a 74 68 69 73 20 73 | added t|o.this s|
|000005a0| 74 72 69 6e 67 2e 22 29 | 0a 28 64 65 66 76 61 72 |tring.")|.(defvar|
|000005b0| 20 73 74 61 6e 64 61 72 | 64 2d 6c 61 74 65 78 2d | standar|d-latex-|
|000005c0| 62 6c 6f 63 6b 2d 6e 61 | 6d 65 73 20 27 28 22 61 |block-na|mes '("a|
|000005d0| 62 73 74 72 61 63 74 22 | 20 22 61 72 72 61 79 22 |bstract"| "array"|
|000005e0| 20 22 63 65 6e 74 65 72 | 22 20 22 64 65 73 63 72 | "center|" "descr|
|000005f0| 69 70 74 69 6f 6e 22 20 | 22 64 69 73 70 6c 61 79 |iption" |"display|
|00000600| 6d 61 74 68 22 20 22 64 | 6f 63 75 6d 65 6e 74 22 |math" "d|ocument"|
|00000610| 20 22 65 6e 75 6d 65 72 | 61 74 65 22 20 22 65 71 | "enumer|ate" "eq|
|00000620| 6e 61 72 72 61 79 22 20 | 22 65 71 6e 61 72 72 61 |narray" |"eqnarra|
|00000630| 79 2a 22 20 22 65 71 75 | 61 74 69 6f 6e 22 20 22 |y*" "equ|ation" "|
|00000640| 66 69 67 75 72 65 22 20 | 22 66 69 67 75 72 65 2a |figure" |"figure*|
|00000650| 22 20 22 66 6c 75 73 68 | 6c 65 66 74 22 20 22 66 |" "flush|left" "f|
|00000660| 6c 75 73 68 72 69 67 68 | 74 22 20 22 69 74 65 6d |lushrigh|t" "item|
|00000670| 69 7a 65 22 20 22 6c 65 | 74 74 65 72 22 20 22 6c |ize" "le|tter" "l|
|00000680| 69 73 74 22 20 22 6d 69 | 6e 69 70 61 67 65 22 20 |ist" "mi|nipage" |
|00000690| 22 70 69 63 74 75 72 65 | 22 20 22 71 75 6f 74 61 |"picture|" "quota|
|000006a0| 74 69 6f 6e 22 20 22 71 | 75 6f 74 65 22 20 22 73 |tion" "q|uote" "s|
|000006b0| 6c 69 64 65 22 20 22 73 | 6c 6f 70 70 79 70 61 72 |lide" "s|loppypar|
|000006c0| 22 20 22 74 61 62 62 69 | 6e 67 22 20 22 74 61 62 |" "tabbi|ng" "tab|
|000006d0| 6c 65 22 20 22 74 61 62 | 6c 65 2a 22 20 22 74 61 |le" "tab|le*" "ta|
|000006e0| 62 75 6c 61 72 22 20 22 | 74 61 62 75 6c 61 72 2a |bular" "|tabular*|
|000006f0| 22 20 22 74 68 65 62 69 | 62 6c 69 6f 67 72 61 70 |" "thebi|bliograp|
|00000700| 68 79 22 20 22 74 68 65 | 69 6e 64 65 78 2a 22 20 |hy" "the|index*" |
|00000710| 22 74 69 74 6c 65 70 61 | 67 65 22 20 22 74 72 69 |"titlepa|ge" "tri|
|00000720| 76 6c 69 73 74 22 20 22 | 76 65 72 62 61 74 69 6d |vlist" "|verbatim|
|00000730| 22 20 22 76 65 72 62 61 | 74 69 6d 2a 22 20 22 76 |" "verba|tim*" "v|
|00000740| 65 72 73 65 22 29 20 22 | 5c 0a 53 74 61 6e 64 61 |erse") "|\.Standa|
|00000750| 72 64 20 4c 61 54 65 58 | 20 62 6c 6f 63 6b 20 6e |rd LaTeX| block n|
|00000760| 61 6d 65 73 2e 22 29 0a | 28 64 65 66 76 61 72 20 |ames.").|(defvar |
|00000770| 6c 61 74 65 78 2d 62 6c | 6f 63 6b 2d 6e 61 6d 65 |latex-bl|ock-name|
|00000780| 73 20 6e 69 6c 20 22 5c | 0a 2a 55 73 65 72 20 64 |s nil "\|.*User d|
|00000790| 65 66 69 6e 65 64 20 4c | 61 54 65 58 20 62 6c 6f |efined L|aTeX blo|
|000007a0| 63 6b 20 6e 61 6d 65 73 | 2e 0a 43 6f 6d 62 69 6e |ck names|..Combin|
|000007b0| 65 64 20 77 69 74 68 20 | 60 73 74 61 6e 64 61 72 |ed with |`standar|
|000007c0| 64 2d 6c 61 74 65 78 2d | 62 6c 6f 63 6b 2d 6e 61 |d-latex-|block-na|
|000007d0| 6d 65 73 27 20 66 6f 72 | 20 6d 69 6e 69 62 75 66 |mes' for| minibuf|
|000007e0| 66 65 72 20 63 6f 6d 70 | 6c 65 74 69 6f 6e 2e 22 |fer comp|letion."|
|000007f0| 29 0a 28 64 65 66 76 61 | 72 20 73 6c 69 74 65 78 |).(defva|r slitex|
|00000800| 2d 72 75 6e 2d 63 6f 6d | 6d 61 6e 64 20 22 73 6c |-run-com|mand "sl|
|00000810| 69 74 65 78 22 20 22 5c | 0a 2a 43 6f 6d 6d 61 6e |itex" "\|.*Comman|
|00000820| 64 20 75 73 65 64 20 74 | 6f 20 72 75 6e 20 53 6c |d used t|o run Sl|
|00000830| 69 54 65 58 20 73 75 62 | 6a 6f 62 2e 0a 49 66 20 |iTeX sub|job..If |
|00000840| 74 68 69 73 20 73 74 72 | 69 6e 67 20 63 6f 6e 74 |this str|ing cont|
|00000850| 61 69 6e 73 20 61 6e 20 | 61 73 74 65 72 69 73 6b |ains an |asterisk|
|00000860| 20 28 2a 29 2c 20 69 74 | 20 77 69 6c 6c 20 62 65 | (*), it| will be|
|00000870| 20 72 65 70 6c 61 63 65 | 64 20 62 79 20 74 68 65 | replace|d by the|
|00000880| 0a 66 69 6c 65 6e 61 6d | 65 3b 20 69 66 20 6e 6f |.filenam|e; if no|
|00000890| 74 2c 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |t, the n|ame of t|
|000008a0| 68 65 20 66 69 6c 65 2c | 20 70 72 65 63 65 64 65 |he file,| precede|
|000008b0| 64 20 62 79 20 62 6c 61 | 6e 6b 2c 20 77 69 6c 6c |d by bla|nk, will|
|000008c0| 20 62 65 20 61 64 64 65 | 64 20 74 6f 0a 74 68 69 | be adde|d to.thi|
|000008d0| 73 20 73 74 72 69 6e 67 | 2e 22 29 0a 28 64 65 66 |s string|.").(def|
|000008e0| 76 61 72 20 74 65 78 2d | 62 69 62 74 65 78 2d 63 |var tex-|bibtex-c|
|000008f0| 6f 6d 6d 61 6e 64 20 22 | 62 69 62 74 65 78 22 20 |ommand "|bibtex" |
|00000900| 22 5c 0a 2a 43 6f 6d 6d | 61 6e 64 20 75 73 65 64 |"\.*Comm|and used|
|00000910| 20 62 79 20 60 74 65 78 | 2d 62 69 62 74 65 78 2d | by `tex|-bibtex-|
|00000920| 66 69 6c 65 27 20 74 6f | 20 67 61 74 68 65 72 20 |file' to| gather |
|00000930| 62 69 62 6c 69 6f 67 72 | 61 70 68 69 63 20 64 61 |bibliogr|aphic da|
|00000940| 74 61 2e 0a 49 66 20 74 | 68 69 73 20 73 74 72 69 |ta..If t|his stri|
|00000950| 6e 67 20 63 6f 6e 74 61 | 69 6e 73 20 61 6e 20 61 |ng conta|ins an a|
|00000960| 73 74 65 72 69 73 6b 20 | 28 2a 29 2c 20 69 74 20 |sterisk |(*), it |
|00000970| 77 69 6c 6c 20 62 65 20 | 72 65 70 6c 61 63 65 64 |will be |replaced|
|00000980| 20 62 79 20 74 68 65 0a | 66 69 6c 65 6e 61 6d 65 | by the.|filename|
|00000990| 3b 20 69 66 20 6e 6f 74 | 2c 20 74 68 65 20 6e 61 |; if not|, the na|
|000009a0| 6d 65 20 6f 66 20 74 68 | 65 20 66 69 6c 65 2c 20 |me of th|e file, |
|000009b0| 70 72 65 63 65 64 65 64 | 20 62 79 20 62 6c 61 6e |preceded| by blan|
|000009c0| 6b 2c 20 77 69 6c 6c 20 | 62 65 20 61 64 64 65 64 |k, will |be added|
|000009d0| 20 74 6f 0a 74 68 69 73 | 20 73 74 72 69 6e 67 2e | to.this| string.|
|000009e0| 22 29 0a 28 64 65 66 76 | 61 72 20 74 65 78 2d 64 |").(defv|ar tex-d|
|000009f0| 76 69 2d 70 72 69 6e 74 | 2d 63 6f 6d 6d 61 6e 64 |vi-print|-command|
|00000a00| 20 22 6c 70 72 20 2d 64 | 22 20 22 5c 0a 2a 43 6f | "lpr -d|" "\.*Co|
|00000a10| 6d 6d 61 6e 64 20 75 73 | 65 64 20 62 79 20 5c 5c |mmand us|ed by \\|
|00000a20| 5b 74 65 78 2d 70 72 69 | 6e 74 5d 20 74 6f 20 70 |[tex-pri|nt] to p|
|00000a30| 72 69 6e 74 20 61 20 2e | 64 76 69 20 66 69 6c 65 |rint a .|dvi file|
|00000a40| 2e 0a 49 66 20 74 68 69 | 73 20 73 74 72 69 6e 67 |..If thi|s string|
|00000a50| 20 63 6f 6e 74 61 69 6e | 73 20 61 6e 20 61 73 74 | contain|s an ast|
|00000a60| 65 72 69 73 6b 20 28 2a | 29 2c 20 69 74 20 77 69 |erisk (*|), it wi|
|00000a70| 6c 6c 20 62 65 20 72 65 | 70 6c 61 63 65 64 20 62 |ll be re|placed b|
|00000a80| 79 20 74 68 65 0a 66 69 | 6c 65 6e 61 6d 65 3b 20 |y the.fi|lename; |
|00000a90| 69 66 20 6e 6f 74 2c 20 | 74 68 65 20 6e 61 6d 65 |if not, |the name|
|00000aa0| 20 6f 66 20 74 68 65 20 | 66 69 6c 65 2c 20 70 72 | of the |file, pr|
|00000ab0| 65 63 65 64 65 64 20 62 | 79 20 62 6c 61 6e 6b 2c |eceded b|y blank,|
|00000ac0| 20 77 69 6c 6c 20 62 65 | 20 61 64 64 65 64 20 74 | will be| added t|
|00000ad0| 6f 0a 74 68 69 73 20 73 | 74 72 69 6e 67 2e 22 29 |o.this s|tring.")|
|00000ae0| 0a 28 64 65 66 76 61 72 | 20 74 65 78 2d 61 6c 74 |.(defvar| tex-alt|
|00000af0| 2d 64 76 69 2d 70 72 69 | 6e 74 2d 63 6f 6d 6d 61 |-dvi-pri|nt-comma|
|00000b00| 6e 64 20 22 6c 70 72 20 | 2d 64 22 20 22 5c 0a 2a |nd "lpr |-d" "\.*|
|00000b10| 43 6f 6d 6d 61 6e 64 20 | 75 73 65 64 20 62 79 20 |Command |used by |
|00000b20| 5c 5c 5b 74 65 78 2d 70 | 72 69 6e 74 5d 20 77 69 |\\[tex-p|rint] wi|
|00000b30| 74 68 20 61 20 70 72 65 | 66 69 78 20 61 72 67 20 |th a pre|fix arg |
|00000b40| 74 6f 20 70 72 69 6e 74 | 20 61 20 2e 64 76 69 20 |to print| a .dvi |
|00000b50| 66 69 6c 65 2e 0a 49 66 | 20 74 68 69 73 20 73 74 |file..If| this st|
|00000b60| 72 69 6e 67 20 63 6f 6e | 74 61 69 6e 73 20 61 6e |ring con|tains an|
|00000b70| 20 61 73 74 65 72 69 73 | 6b 20 28 2a 29 2c 20 69 | asteris|k (*), i|
|00000b80| 74 20 77 69 6c 6c 20 62 | 65 20 72 65 70 6c 61 63 |t will b|e replac|
|00000b90| 65 64 20 62 79 20 74 68 | 65 0a 66 69 6c 65 6e 61 |ed by th|e.filena|
|00000ba0| 6d 65 3b 20 69 66 20 6e | 6f 74 2c 20 74 68 65 20 |me; if n|ot, the |
|00000bb0| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 66 69 6c 65 |name of |the file|
|00000bc0| 2c 20 70 72 65 63 65 64 | 65 64 20 62 79 20 62 6c |, preced|ed by bl|
|00000bd0| 61 6e 6b 2c 20 77 69 6c | 6c 20 62 65 20 61 64 64 |ank, wil|l be add|
|00000be0| 65 64 20 74 6f 0a 74 68 | 69 73 20 73 74 72 69 6e |ed to.th|is strin|
|00000bf0| 67 2e 0a 0a 49 66 20 74 | 77 6f 20 70 72 69 6e 74 |g...If t|wo print|
|00000c00| 65 72 73 20 61 72 65 20 | 6e 6f 74 20 65 6e 6f 75 |ers are |not enou|
|00000c10| 67 68 20 6f 66 20 61 20 | 63 68 6f 69 63 65 2c 20 |gh of a |choice, |
|00000c20| 79 6f 75 20 63 61 6e 20 | 64 65 66 69 6e 65 20 74 |you can |define t|
|00000c30| 68 65 20 76 61 6c 75 65 | 0a 6f 66 20 74 65 78 2d |he value|.of tex-|
|00000c40| 61 6c 74 2d 64 76 69 2d | 70 72 69 6e 74 2d 63 6f |alt-dvi-|print-co|
|00000c50| 6d 6d 61 6e 64 20 74 6f | 20 62 65 20 61 6e 20 65 |mmand to| be an e|
|00000c60| 78 70 72 65 73 73 69 6f | 6e 20 74 68 61 74 20 61 |xpressio|n that a|
|00000c70| 73 6b 73 20 77 68 61 74 | 20 79 6f 75 20 77 61 6e |sks what| you wan|
|00000c80| 74 3b 0a 66 6f 72 20 65 | 78 61 6d 70 6c 65 2c 0a |t;.for e|xample,.|
|00000c90| 0a 20 20 20 20 28 73 65 | 74 71 20 74 65 78 2d 61 |. (se|tq tex-a|
|00000ca0| 6c 74 2d 64 76 69 2d 70 | 72 69 6e 74 2d 63 6f 6d |lt-dvi-p|rint-com|
|00000cb0| 6d 61 6e 64 0a 20 20 20 | 20 20 20 20 20 20 27 28 |mand. | '(|
|00000cc0| 66 6f 72 6d 61 74 20 5c | 22 6c 70 72 20 2d 50 25 |format \|"lpr -P%|
|00000cd0| 73 5c 22 20 28 72 65 61 | 64 2d 73 74 72 69 6e 67 |s\" (rea|d-string|
|00000ce0| 20 5c 22 55 73 65 20 70 | 72 69 6e 74 65 72 3a 20 | \"Use p|rinter: |
|00000cf0| 5c 22 29 29 29 0a 0a 77 | 6f 75 6c 64 20 74 65 6c |\")))..w|ould tel|
|00000d00| 6c 20 5c 5c 5b 74 65 78 | 2d 70 72 69 6e 74 5d 20 |l \\[tex|-print] |
|00000d10| 77 69 74 68 20 61 20 70 | 72 65 66 69 78 20 61 72 |with a p|refix ar|
|00000d20| 67 75 6d 65 6e 74 20 74 | 6f 20 61 73 6b 20 79 6f |gument t|o ask yo|
|00000d30| 75 20 77 68 69 63 68 20 | 70 72 69 6e 74 65 72 20 |u which |printer |
|00000d40| 74 6f 0a 75 73 65 2e 22 | 29 0a 28 64 65 66 76 61 |to.use."|).(defva|
|00000d50| 72 20 74 65 78 2d 64 76 | 69 2d 76 69 65 77 2d 63 |r tex-dv|i-view-c|
|00000d60| 6f 6d 6d 61 6e 64 20 6e | 69 6c 20 22 5c 0a 2a 43 |ommand n|il "\.*C|
|00000d70| 6f 6d 6d 61 6e 64 20 75 | 73 65 64 20 62 79 20 5c |ommand u|sed by \|
|00000d80| 5c 5b 74 65 78 2d 76 69 | 65 77 5d 20 74 6f 20 64 |\[tex-vi|ew] to d|
|00000d90| 69 73 70 6c 61 79 20 61 | 20 2e 64 76 69 20 66 69 |isplay a| .dvi fi|
|00000da0| 6c 65 2e 0a 49 66 20 74 | 68 69 73 20 73 74 72 69 |le..If t|his stri|
|00000db0| 6e 67 20 63 6f 6e 74 61 | 69 6e 73 20 61 6e 20 61 |ng conta|ins an a|
|00000dc0| 73 74 65 72 69 73 6b 20 | 28 2a 29 2c 20 69 74 20 |sterisk |(*), it |
|00000dd0| 77 69 6c 6c 20 62 65 20 | 72 65 70 6c 61 63 65 64 |will be |replaced|
|00000de0| 20 62 79 20 74 68 65 0a | 66 69 6c 65 6e 61 6d 65 | by the.|filename|
|00000df0| 3b 20 69 66 20 6e 6f 74 | 2c 20 74 68 65 20 6e 61 |; if not|, the na|
|00000e00| 6d 65 20 6f 66 20 74 68 | 65 20 66 69 6c 65 2c 20 |me of th|e file, |
|00000e10| 70 72 65 63 65 64 65 64 | 20 62 79 20 62 6c 61 6e |preceded| by blan|
|00000e20| 6b 2c 20 77 69 6c 6c 20 | 62 65 20 61 64 64 65 64 |k, will |be added|
|00000e30| 20 74 6f 0a 74 68 69 73 | 20 73 74 72 69 6e 67 2e | to.this| string.|
|00000e40| 0a 0a 54 68 69 73 20 63 | 61 6e 20 62 65 20 73 65 |..This c|an be se|
|00000e50| 74 20 63 6f 6e 64 69 74 | 69 6f 6e 61 6c 6c 79 20 |t condit|ionally |
|00000e60| 73 6f 20 74 68 61 74 20 | 74 68 65 20 70 72 65 76 |so that |the prev|
|00000e70| 69 65 77 65 72 20 75 73 | 65 64 20 69 73 20 73 75 |iewer us|ed is su|
|00000e80| 69 74 61 62 6c 65 20 66 | 6f 72 20 74 68 65 0a 77 |itable f|or the.w|
|00000e90| 69 6e 64 6f 77 20 73 79 | 73 74 65 6d 20 62 65 69 |indow sy|stem bei|
|00000ea0| 6e 67 20 75 73 65 64 2e | 20 20 46 6f 72 20 65 78 |ng used.| For ex|
|00000eb0| 61 6d 70 6c 65 2c 0a 0a | 20 20 20 20 28 73 65 74 |ample,..| (set|
|00000ec0| 71 20 74 65 78 2d 64 76 | 69 2d 76 69 65 77 2d 63 |q tex-dv|i-view-c|
|00000ed0| 6f 6d 6d 61 6e 64 0a 20 | 20 20 20 20 20 20 20 20 |ommand. | |
|00000ee0| 20 28 69 66 20 28 65 71 | 20 77 69 6e 64 6f 77 2d | (if (eq| window-|
|00000ef0| 73 79 73 74 65 6d 20 27 | 78 29 20 5c 22 78 64 76 |system '|x) \"xdv|
|00000f00| 69 5c 22 20 5c 22 64 76 | 69 32 74 74 79 20 2a 20 |i\" \"dv|i2tty * |
|00000f10| 7c 20 63 61 74 20 2d 73 | 5c 22 29 29 0a 0a 77 6f || cat -s|\"))..wo|
|00000f20| 75 6c 64 20 74 65 6c 6c | 20 5c 5c 5b 74 65 78 2d |uld tell| \\[tex-|
|00000f30| 76 69 65 77 5d 20 75 73 | 65 20 78 64 76 69 20 75 |view] us|e xdvi u|
|00000f40| 6e 64 65 72 20 58 20 77 | 69 6e 64 6f 77 73 20 61 |nder X w|indows a|
|00000f50| 6e 64 20 74 6f 20 75 73 | 65 20 64 76 69 32 74 74 |nd to us|e dvi2tt|
|00000f60| 79 0a 6f 74 68 65 72 77 | 69 73 65 2e 22 29 0a 28 |y.otherw|ise.").(|
|00000f70| 64 65 66 76 61 72 20 74 | 65 78 2d 73 68 6f 77 2d |defvar t|ex-show-|
|00000f80| 71 75 65 75 65 2d 63 6f | 6d 6d 61 6e 64 20 22 6c |queue-co|mmand "l|
|00000f90| 70 71 22 20 22 5c 0a 2a | 43 6f 6d 6d 61 6e 64 20 |pq" "\.*|Command |
|00000fa0| 75 73 65 64 20 62 79 20 | 5c 5c 5b 74 65 78 2d 73 |used by |\\[tex-s|
|00000fb0| 68 6f 77 2d 70 72 69 6e | 74 2d 71 75 65 75 65 5d |how-prin|t-queue]|
|00000fc0| 20 74 6f 20 73 68 6f 77 | 20 74 68 65 20 70 72 69 | to show| the pri|
|00000fd0| 6e 74 20 71 75 65 75 65 | 2e 0a 53 68 6f 75 6c 64 |nt queue|..Should|
|00000fe0| 20 73 68 6f 77 20 74 68 | 65 20 71 75 65 75 65 28 | show th|e queue(|
|00000ff0| 73 29 20 74 68 61 74 20 | 5c 5c 5b 74 65 78 2d 70 |s) that |\\[tex-p|
|00001000| 72 69 6e 74 5d 20 70 75 | 74 73 20 6a 6f 62 73 20 |rint] pu|ts jobs |
|00001010| 6f 6e 2e 22 29 0a 28 64 | 65 66 76 61 72 20 74 65 |on.").(d|efvar te|
|00001020| 78 2d 64 65 66 61 75 6c | 74 2d 6d 6f 64 65 20 27 |x-defaul|t-mode '|
|00001030| 70 6c 61 69 6e 2d 74 65 | 78 2d 6d 6f 64 65 20 22 |plain-te|x-mode "|
|00001040| 5c 0a 2a 4d 6f 64 65 20 | 74 6f 20 65 6e 74 65 72 |\.*Mode |to enter|
|00001050| 20 66 6f 72 20 61 20 6e | 65 77 20 66 69 6c 65 20 | for a n|ew file |
|00001060| 74 68 61 74 20 6d 69 67 | 68 74 20 62 65 20 65 69 |that mig|ht be ei|
|00001070| 74 68 65 72 20 54 65 58 | 20 6f 72 20 4c 61 54 65 |ther TeX| or LaTe|
|00001080| 58 2e 0a 54 68 69 73 20 | 76 61 72 69 61 62 6c 65 |X..This |variable|
|00001090| 20 69 73 20 75 73 65 64 | 20 77 68 65 6e 20 69 74 | is used| when it|
|000010a0| 20 63 61 6e 27 74 20 62 | 65 20 64 65 74 65 72 6d | can't b|e determ|
|000010b0| 69 6e 65 64 20 77 68 65 | 74 68 65 72 20 74 68 65 |ined whe|ther the|
|000010c0| 20 66 69 6c 65 0a 69 73 | 20 70 6c 61 69 6e 20 54 | file.is| plain T|
|000010d0| 65 58 20 6f 72 20 4c 61 | 54 65 58 20 6f 72 20 77 |eX or La|TeX or w|
|000010e0| 68 61 74 20 62 65 63 61 | 75 73 65 20 74 68 65 20 |hat beca|use the |
|000010f0| 66 69 6c 65 20 63 6f 6e | 74 61 69 6e 73 20 6e 6f |file con|tains no|
|00001100| 20 63 6f 6d 6d 61 6e 64 | 73 2e 0a 4e 6f 72 6d 61 | command|s..Norma|
|00001110| 6c 6c 79 20 73 65 74 20 | 74 6f 20 65 69 74 68 65 |lly set |to eithe|
|00001120| 72 20 27 70 6c 61 69 6e | 2d 74 65 78 2d 6d 6f 64 |r 'plain|-tex-mod|
|00001130| 65 20 6f 72 20 27 6c 61 | 74 65 78 2d 6d 6f 64 65 |e or 'la|tex-mode|
|00001140| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 74 65 78 2d |.").(def|var tex-|
|00001150| 6f 70 65 6e 2d 71 75 6f | 74 65 20 22 60 60 22 20 |open-quo|te "``" |
|00001160| 22 5c 0a 2a 53 74 72 69 | 6e 67 20 69 6e 73 65 72 |"\.*Stri|ng inser|
|00001170| 74 65 64 20 62 79 20 74 | 79 70 69 6e 67 20 5c 5c |ted by t|yping \\|
|00001180| 5b 74 65 78 2d 69 6e 73 | 65 72 74 2d 71 75 6f 74 |[tex-ins|ert-quot|
|00001190| 65 5d 20 74 6f 20 6f 70 | 65 6e 20 61 20 71 75 6f |e] to op|en a quo|
|000011a0| 74 61 74 69 6f 6e 2e 22 | 29 0a 28 64 65 66 76 61 |tation."|).(defva|
|000011b0| 72 20 74 65 78 2d 63 6c | 6f 73 65 2d 71 75 6f 74 |r tex-cl|ose-quot|
|000011c0| 65 20 22 27 27 22 20 22 | 5c 0a 2a 53 74 72 69 6e |e "''" "|\.*Strin|
|000011d0| 67 20 69 6e 73 65 72 74 | 65 64 20 62 79 20 74 79 |g insert|ed by ty|
|000011e0| 70 69 6e 67 20 5c 5c 5b | 74 65 78 2d 69 6e 73 65 |ping \\[|tex-inse|
|000011f0| 72 74 2d 71 75 6f 74 65 | 5d 20 74 6f 20 63 6c 6f |rt-quote|] to clo|
|00001200| 73 65 20 61 20 71 75 6f | 74 61 74 69 6f 6e 2e 22 |se a quo|tation."|
|00001210| 29 0a 28 64 65 66 76 61 | 72 20 74 65 78 2d 6c 61 |).(defva|r tex-la|
|00001220| 73 74 2d 74 65 6d 70 2d | 66 69 6c 65 20 6e 69 6c |st-temp-|file nil|
|00001230| 20 22 5c 0a 4c 61 74 65 | 73 74 20 74 65 6d 70 6f | "\.Late|st tempo|
|00001240| 72 61 72 79 20 66 69 6c | 65 20 67 65 6e 65 72 61 |rary fil|e genera|
|00001250| 74 65 64 20 62 79 20 5c | 5c 5b 74 65 78 2d 72 65 |ted by \|\[tex-re|
|00001260| 67 69 6f 6e 5d 20 61 6e | 64 20 5c 5c 5b 74 65 78 |gion] an|d \\[tex|
|00001270| 2d 62 75 66 66 65 72 5d | 2e 0a 44 65 6c 65 74 65 |-buffer]|..Delete|
|00001280| 64 20 77 68 65 6e 20 74 | 68 65 20 5c 5c 5b 74 65 |d when t|he \\[te|
|00001290| 78 2d 72 65 67 69 6f 6e | 5d 20 6f 72 20 5c 5c 5b |x-region|] or \\[|
|000012a0| 74 65 78 2d 62 75 66 66 | 65 72 5d 20 69 73 20 6e |tex-buff|er] is n|
|000012b0| 65 78 74 20 72 75 6e 2c | 20 6f 72 20 77 68 65 6e |ext run,| or when|
|000012c0| 20 74 68 65 0a 74 65 78 | 2d 73 68 65 6c 6c 20 67 | the.tex|-shell g|
|000012d0| 6f 65 73 20 61 77 61 79 | 2e 22 29 0a 28 64 65 66 |oes away|.").(def|
|000012e0| 76 61 72 20 74 65 78 2d | 63 6f 6d 6d 61 6e 64 20 |var tex-|command |
|000012f0| 6e 69 6c 20 22 5c 0a 43 | 6f 6d 6d 61 6e 64 20 74 |nil "\.C|ommand t|
|00001300| 6f 20 72 75 6e 20 54 65 | 58 2e 0a 54 68 65 20 6e |o run Te|X..The n|
|00001310| 61 6d 65 20 6f 66 20 74 | 68 65 20 66 69 6c 65 2c |ame of t|he file,|
|00001320| 20 70 72 65 63 65 64 65 | 64 20 62 79 20 61 20 62 | precede|d by a b|
|00001330| 6c 61 6e 6b 2c 20 77 69 | 6c 6c 20 62 65 20 61 64 |lank, wi|ll be ad|
|00001340| 64 65 64 20 74 6f 20 74 | 68 69 73 20 73 74 72 69 |ded to t|his stri|
|00001350| 6e 67 2e 22 29 0a 28 64 | 65 66 76 61 72 20 74 65 |ng.").(d|efvar te|
|00001360| 78 2d 74 72 61 69 6c 65 | 72 20 6e 69 6c 20 22 5c |x-traile|r nil "\|
|00001370| 0a 53 74 72 69 6e 67 20 | 61 70 70 65 6e 64 65 64 |.String |appended|
|00001380| 20 61 66 74 65 72 20 74 | 68 65 20 65 6e 64 20 6f | after t|he end o|
|00001390| 66 20 61 20 72 65 67 69 | 6f 6e 20 73 65 6e 74 20 |f a regi|on sent |
|000013a0| 74 6f 20 54 65 58 20 62 | 79 20 5c 5c 5b 74 65 78 |to TeX b|y \\[tex|
|000013b0| 2d 72 65 67 69 6f 6e 5d | 2e 22 29 0a 28 64 65 66 |-region]|.").(def|
|000013c0| 76 61 72 20 74 65 78 2d | 73 74 61 72 74 2d 6f 66 |var tex-|start-of|
|000013d0| 2d 68 65 61 64 65 72 20 | 6e 69 6c 20 22 5c 0a 53 |-header |nil "\.S|
|000013e0| 74 72 69 6e 67 20 75 73 | 65 64 20 62 79 20 5c 5c |tring us|ed by \\|
|000013f0| 5b 74 65 78 2d 72 65 67 | 69 6f 6e 5d 20 74 6f 20 |[tex-reg|ion] to |
|00001400| 64 65 6c 69 6d 69 74 20 | 74 68 65 20 73 74 61 72 |delimit |the star|
|00001410| 74 20 6f 66 20 74 68 65 | 20 66 69 6c 65 27 73 20 |t of the| file's |
|00001420| 68 65 61 64 65 72 2e 22 | 29 0a 28 64 65 66 76 61 |header."|).(defva|
|00001430| 72 20 74 65 78 2d 65 6e | 64 2d 6f 66 2d 68 65 61 |r tex-en|d-of-hea|
|00001440| 64 65 72 20 6e 69 6c 20 | 22 5c 0a 53 74 72 69 6e |der nil |"\.Strin|
|00001450| 67 20 75 73 65 64 20 62 | 79 20 5c 5c 5b 74 65 78 |g used b|y \\[tex|
|00001460| 2d 72 65 67 69 6f 6e 5d | 20 74 6f 20 64 65 6c 69 |-region]| to deli|
|00001470| 6d 69 74 20 74 68 65 20 | 65 6e 64 20 6f 66 20 74 |mit the |end of t|
|00001480| 68 65 20 66 69 6c 65 27 | 73 20 68 65 61 64 65 72 |he file'|s header|
|00001490| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 74 65 78 2d |.").(def|var tex-|
|000014a0| 73 68 65 6c 6c 2d 63 64 | 2d 63 6f 6d 6d 61 6e 64 |shell-cd|-command|
|000014b0| 20 22 63 64 22 20 22 5c | 0a 43 6f 6d 6d 61 6e 64 | "cd" "\|.Command|
|000014c0| 20 74 6f 20 67 69 76 65 | 20 74 6f 20 73 68 65 6c | to give| to shel|
|000014d0| 6c 20 72 75 6e 6e 69 6e | 67 20 54 65 58 20 74 6f |l runnin|g TeX to|
|000014e0| 20 63 68 61 6e 67 65 20 | 64 69 72 65 63 74 6f 72 | change |director|
|000014f0| 79 2e 0a 54 68 65 20 76 | 61 6c 75 65 20 6f 66 20 |y..The v|alue of |
|00001500| 74 65 78 2d 64 69 72 65 | 63 74 6f 72 79 20 77 69 |tex-dire|ctory wi|
|00001510| 6c 6c 20 62 65 20 61 70 | 70 65 6e 64 65 64 20 74 |ll be ap|pended t|
|00001520| 6f 20 74 68 69 73 2c 20 | 73 65 70 61 72 61 74 65 |o this, |separate|
|00001530| 64 20 62 79 20 61 20 73 | 70 61 63 65 2e 22 29 0a |d by a s|pace.").|
|00001540| 28 64 65 66 76 61 72 20 | 74 65 78 2d 7a 61 70 2d |(defvar |tex-zap-|
|00001550| 66 69 6c 65 20 6e 69 6c | 20 22 5c 0a 54 65 6d 70 |file nil| "\.Temp|
|00001560| 6f 72 61 72 79 20 66 69 | 6c 65 20 6e 61 6d 65 20 |orary fi|le name |
|00001570| 75 73 65 64 20 66 6f 72 | 20 74 65 78 74 20 62 65 |used for| text be|
|00001580| 69 6e 67 20 73 65 6e 74 | 20 61 73 20 69 6e 70 75 |ing sent| as inpu|
|00001590| 74 20 74 6f 20 54 65 58 | 2e 0a 53 68 6f 75 6c 64 |t to TeX|..Should|
|000015a0| 20 62 65 20 61 20 73 69 | 6d 70 6c 65 20 66 69 6c | be a si|mple fil|
|000015b0| 65 20 6e 61 6d 65 20 77 | 69 74 68 20 6e 6f 20 65 |e name w|ith no e|
|000015c0| 78 74 65 6e 73 69 6f 6e | 20 6f 72 20 64 69 72 65 |xtension| or dire|
|000015d0| 63 74 6f 72 79 20 73 70 | 65 63 69 66 69 63 61 74 |ctory sp|ecificat|
|000015e0| 69 6f 6e 2e 22 29 0a 28 | 64 65 66 76 61 72 20 74 |ion.").(|defvar t|
|000015f0| 65 78 2d 6c 61 73 74 2d | 62 75 66 66 65 72 2d 74 |ex-last-|buffer-t|
|00001600| 65 78 65 64 20 6e 69 6c | 20 22 5c 0a 42 75 66 66 |exed nil| "\.Buff|
|00001610| 65 72 20 77 68 69 63 68 | 20 77 61 73 20 6c 61 73 |er which| was las|
|00001620| 74 20 54 65 58 65 64 2e | 22 29 0a 28 64 65 66 76 |t TeXed.|").(defv|
|00001630| 61 72 20 74 65 78 2d 70 | 72 69 6e 74 2d 66 69 6c |ar tex-p|rint-fil|
|00001640| 65 20 6e 69 6c 20 22 5c | 0a 46 69 6c 65 20 6e 61 |e nil "\|.File na|
|00001650| 6d 65 20 74 68 61 74 20 | 5c 5c 5b 74 65 78 2d 70 |me that |\\[tex-p|
|00001660| 72 69 6e 74 5d 20 70 72 | 69 6e 74 73 2e 0a 53 65 |rint] pr|ints..Se|
|00001670| 74 20 62 79 20 5c 5c 5b | 74 65 78 2d 72 65 67 69 |t by \\[|tex-regi|
|00001680| 6f 6e 5d 2c 20 5c 5c 5b | 74 65 78 2d 62 75 66 66 |on], \\[|tex-buff|
|00001690| 65 72 5d 2c 20 61 6e 64 | 20 5c 5c 5b 74 65 78 2d |er], and| \\[tex-|
|000016a0| 66 69 6c 65 5d 2e 22 29 | 0a 28 64 65 66 76 61 72 |file].")|.(defvar|
|000016b0| 20 74 65 78 2d 6d 6f 64 | 65 2d 73 79 6e 74 61 78 | tex-mod|e-syntax|
|000016c0| 2d 74 61 62 6c 65 20 6e | 69 6c 20 22 5c 0a 53 79 |-table n|il "\.Sy|
|000016d0| 6e 74 61 78 20 74 61 62 | 6c 65 20 75 73 65 64 20 |ntax tab|le used |
|000016e0| 77 68 69 6c 65 20 69 6e | 20 54 65 58 20 6d 6f 64 |while in| TeX mod|
|000016f0| 65 2e 22 29 0a 28 66 73 | 65 74 20 27 74 65 78 2d |e.").(fs|et 'tex-|
|00001700| 64 65 66 69 6e 65 2d 63 | 6f 6d 6d 6f 6e 2d 6b 65 |define-c|ommon-ke|
|00001710| 79 73 20 23 5b 28 6b 65 | 79 6d 61 70 29 20 22 c0 |ys #[(ke|ymap) ".|
|00001720| 09 c2 c3 23 88 c0 09 c4 | c5 23 88 c0 09 c6 c7 23 |...#....|.#.....#|
|00001730| 88 c0 09 c8 c9 23 88 c0 | 09 ca cb 23 87 22 20 5b |.....#..|...#." [|
|00001740| 64 65 66 69 6e 65 2d 6b | 65 79 20 6b 65 79 6d 61 |define-k|ey keyma|
|00001750| 70 20 22 03 0b 22 20 74 | 65 78 2d 6b 69 6c 6c 2d |p ".." t|ex-kill-|
|00001760| 6a 6f 62 20 22 03 0c 22 | 20 74 65 78 2d 72 65 63 |job ".."| tex-rec|
|00001770| 65 6e 74 65 72 2d 6f 75 | 74 70 75 74 2d 62 75 66 |enter-ou|tput-buf|
|00001780| 66 65 72 20 22 03 11 22 | 20 74 65 78 2d 73 68 6f |fer ".."| tex-sho|
|00001790| 77 2d 70 72 69 6e 74 2d | 71 75 65 75 65 20 22 03 |w-print-|queue ".|
|000017a0| 10 22 20 74 65 78 2d 70 | 72 69 6e 74 20 22 03 16 |." tex-p|rint "..|
|000017b0| 22 20 74 65 78 2d 76 69 | 65 77 5d 20 34 20 22 5c |" tex-vi|ew] 4 "\|
|000017c0| 0a 44 65 66 69 6e 65 20 | 74 68 65 20 6b 65 79 73 |.Define |the keys|
|000017d0| 20 74 68 61 74 20 77 65 | 20 77 61 6e 74 20 64 65 | that we| want de|
|000017e0| 66 69 6e 65 64 20 62 6f | 74 68 20 69 6e 20 54 65 |fined bo|th in Te|
|000017f0| 58 20 6d 6f 64 65 20 61 | 6e 64 20 69 6e 20 74 68 |X mode a|nd in th|
|00001800| 65 20 74 65 78 2d 73 68 | 65 6c 6c 2e 22 5d 29 0a |e tex-sh|ell."]).|
|00001810| 28 64 65 66 76 61 72 20 | 74 65 78 2d 6d 6f 64 65 |(defvar |tex-mode|
|00001820| 2d 6d 61 70 20 6e 69 6c | 20 22 5c 0a 4b 65 79 6d |-map nil| "\.Keym|
|00001830| 61 70 20 66 6f 72 20 54 | 65 58 20 6d 6f 64 65 2e |ap for T|eX mode.|
|00001840| 22 29 0a 28 62 79 74 65 | 2d 63 6f 64 65 20 22 08 |").(byte|-code ".|
|00001850| ac c3 c1 20 10 c2 08 21 | 88 c3 08 c4 c5 23 88 c3 |... ...!|.....#..|
|00001860| 08 c6 c7 23 88 c3 08 c8 | c9 23 88 c3 08 ca cb 23 |...#....|.#.....#|
|00001870| 88 c3 08 cc cd 23 88 c3 | 08 ce cf 23 88 c3 08 d0 |.....#..|...#....|
|00001880| d1 23 88 c3 08 d2 d3 23 | 88 c3 08 d4 d5 23 88 c3 |.#.....#|.....#..|
|00001890| 08 d6 d7 23 88 c1 87 22 | 20 5b 74 65 78 2d 6d 6f |...#..."| [tex-mo|
|000018a0| 64 65 2d 6d 61 70 20 6d | 61 6b 65 2d 73 70 61 72 |de-map m|ake-spar|
|000018b0| 73 65 2d 6b 65 79 6d 61 | 70 20 74 65 78 2d 64 65 |se-keyma|p tex-de|
|000018c0| 66 69 6e 65 2d 63 6f 6d | 6d 6f 6e 2d 6b 65 79 73 |fine-com|mon-keys|
|000018d0| 20 64 65 66 69 6e 65 2d | 6b 65 79 20 22 5c 22 22 | define-|key "\""|
|000018e0| 20 74 65 78 2d 69 6e 73 | 65 72 74 2d 71 75 6f 74 | tex-ins|ert-quot|
|000018f0| 65 20 22 5c 6e 22 20 74 | 65 78 2d 74 65 72 6d 69 |e "\n" t|ex-termi|
|00001900| 6e 61 74 65 2d 70 61 72 | 61 67 72 61 70 68 20 22 |nate-par|agraph "|
|00001910| 03 7d 22 20 75 70 2d 6c | 69 73 74 20 22 03 7b 22 |.}" up-l|ist ".{"|
|00001920| 20 74 65 78 2d 69 6e 73 | 65 72 74 2d 62 72 61 63 | tex-ins|ert-brac|
|00001930| 65 73 20 22 03 12 22 20 | 74 65 78 2d 72 65 67 69 |es ".." |tex-regi|
|00001940| 6f 6e 20 22 03 02 22 20 | 74 65 78 2d 62 75 66 66 |on ".." |tex-buff|
|00001950| 65 72 20 22 03 06 22 20 | 74 65 78 2d 66 69 6c 65 |er ".." |tex-file|
|00001960| 20 22 03 09 22 20 74 65 | 78 2d 62 69 62 74 65 78 | ".." te|x-bibtex|
|00001970| 2d 66 69 6c 65 20 22 03 | 0f 22 20 74 65 78 2d 6c |-file ".|." tex-l|
|00001980| 61 74 65 78 2d 62 6c 6f | 63 6b 20 22 03 05 22 20 |atex-blo|ck ".." |
|00001990| 74 65 78 2d 63 6c 6f 73 | 65 2d 6c 61 74 65 78 2d |tex-clos|e-latex-|
|000019a0| 62 6c 6f 63 6b 5d 20 34 | 29 0a 28 64 65 66 76 61 |block] 4|).(defva|
|000019b0| 72 20 74 65 78 2d 73 68 | 65 6c 6c 2d 6d 61 70 20 |r tex-sh|ell-map |
|000019c0| 6e 69 6c 20 22 5c 0a 4b | 65 79 6d 61 70 20 66 6f |nil "\.K|eymap fo|
|000019d0| 72 20 74 68 65 20 74 65 | 78 2d 73 68 65 6c 6c 2e |r the te|x-shell.|
|000019e0| 20 20 41 20 63 6f 6d 69 | 6e 74 2d 6d 6f 64 65 2d | A comi|nt-mode-|
|000019f0| 6d 61 70 20 77 69 74 68 | 20 61 20 66 65 77 20 61 |map with| a few a|
|00001a00| 64 64 69 74 69 6f 6e 73 | 2e 22 29 0a 28 66 73 65 |dditions|.").(fse|
|00001a10| 74 20 27 74 65 78 2d 6d | 6f 64 65 20 23 5b 6e 69 |t 'tex-m|ode #[ni|
|00001a20| 6c 20 22 c0 89 89 19 1a | 1b 8a 65 62 88 c4 c5 c0 |l ".....|..eb....|
|00001a30| c6 23 89 12 ab 92 60 1e | 07 8a c8 79 88 c4 c9 0e |.#....`.|...y....|
|00001a40| 07 c6 23 2a 89 11 ac 65 | 5c 6e ab 95 09 ac 92 ca |..#*...e|\n......|
|00001a50| cb 21 ab 8b ca cc 21 ab | 83 cd aa 84 ce aa 81 cf |.!....!.|........|
|00001a60| 13 29 0b ab 84 0b 20 aa | 83 0e 10 20 2b 87 22 20 |.).... .|... +." |
|00001a70| 5b 6e 69 6c 20 63 6f 6d | 6d 65 6e 74 20 73 6c 61 |[nil com|ment sla|
|00001a80| 73 68 20 6d 6f 64 65 20 | 73 65 61 72 63 68 2d 66 |sh mode |search-f|
|00001a90| 6f 72 77 61 72 64 20 22 | 5c 5c 22 20 74 20 73 65 |orward "|\\" t se|
|00001aa0| 61 72 63 68 2d 65 6e 64 | 20 30 20 22 25 22 20 6c |arch-end| 0 "%" l|
|00001ab0| 6f 6f 6b 69 6e 67 2d 61 | 74 20 22 64 6f 63 75 6d |ooking-a|t "docum|
|00001ac0| 65 6e 74 73 74 79 6c 65 | 22 20 22 64 6f 63 75 6d |entstyle|" "docum|
|00001ad0| 65 6e 74 73 74 79 6c 65 | 7b 73 6c 69 64 65 73 7d |entstyle|{slides}|
|00001ae0| 22 20 73 6c 69 74 65 78 | 2d 6d 6f 64 65 20 6c 61 |" slitex|-mode la|
|00001af0| 74 65 78 2d 6d 6f 64 65 | 20 70 6c 61 69 6e 2d 74 |tex-mode| plain-t|
|00001b00| 65 78 2d 6d 6f 64 65 20 | 74 65 78 2d 64 65 66 61 |ex-mode |tex-defa|
|00001b10| 75 6c 74 2d 6d 6f 64 65 | 5d 20 34 20 22 5c 0a 4d |ult-mode|] 4 "\.M|
|00001b20| 61 6a 6f 72 20 6d 6f 64 | 65 20 66 6f 72 20 65 64 |ajor mod|e for ed|
|00001b30| 69 74 69 6e 67 20 66 69 | 6c 65 73 20 6f 66 20 69 |iting fi|les of i|
|00001b40| 6e 70 75 74 20 66 6f 72 | 20 54 65 58 2c 20 4c 61 |nput for| TeX, La|
|00001b50| 54 65 58 2c 20 6f 72 20 | 53 6c 69 54 65 58 2e 0a |TeX, or |SliTeX..|
|00001b60| 54 72 69 65 73 20 74 6f | 20 64 65 74 65 72 6d 69 |Tries to| determi|
|00001b70| 6e 65 20 28 62 79 20 6c | 6f 6f 6b 69 6e 67 20 61 |ne (by l|ooking a|
|00001b80| 74 20 74 68 65 20 62 65 | 67 69 6e 6e 69 6e 67 20 |t the be|ginning |
|00001b90| 6f 66 20 74 68 65 20 66 | 69 6c 65 29 20 77 68 65 |of the f|ile) whe|
|00001ba0| 74 68 65 72 0a 74 68 69 | 73 20 66 69 6c 65 20 69 |ther.thi|s file i|
|00001bb0| 73 20 66 6f 72 20 70 6c | 61 69 6e 20 54 65 58 2c |s for pl|ain TeX,|
|00001bc0| 20 4c 61 54 65 58 2c 20 | 6f 72 20 53 6c 69 54 65 | LaTeX, |or SliTe|
|00001bd0| 58 20 61 6e 64 20 63 61 | 6c 6c 73 20 70 6c 61 69 |X and ca|lls plai|
|00001be0| 6e 2d 74 65 78 2d 6d 6f | 64 65 2c 0a 6c 61 74 65 |n-tex-mo|de,.late|
|00001bf0| 78 2d 6d 6f 64 65 2c 20 | 6f 72 20 73 6c 69 74 65 |x-mode, |or slite|
|00001c00| 78 2d 6d 6f 64 65 2c 20 | 72 65 73 70 65 63 74 69 |x-mode, |respecti|
|00001c10| 76 65 6c 79 2e 20 20 49 | 66 20 69 74 20 63 61 6e |vely. I|f it can|
|00001c20| 6e 6f 74 20 62 65 20 64 | 65 74 65 72 6d 69 6e 65 |not be d|etermine|
|00001c30| 64 2c 0a 73 75 63 68 20 | 61 73 20 69 66 20 74 68 |d,.such |as if th|
|00001c40| 65 72 65 20 61 72 65 20 | 6e 6f 20 63 6f 6d 6d 61 |ere are |no comma|
|00001c50| 6e 64 73 20 69 6e 20 74 | 68 65 20 66 69 6c 65 2c |nds in t|he file,|
|00001c60| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 74 65 | the val|ue of te|
|00001c70| 78 2d 64 65 66 61 75 6c | 74 2d 6d 6f 64 65 0a 69 |x-defaul|t-mode.i|
|00001c80| 73 20 75 73 65 64 2e 22 | 20 6e 69 6c 5d 29 0a 28 |s used."| nil]).(|
|00001c90| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 c1 4d 88 c2 |byte-cod|e "..M..|
|00001ca0| c3 4d 87 22 20 5b 54 65 | 58 2d 6d 6f 64 65 20 74 |.M." [Te|X-mode t|
|00001cb0| 65 78 2d 6d 6f 64 65 20 | 4c 61 54 65 58 2d 6d 6f |ex-mode |LaTeX-mo|
|00001cc0| 64 65 20 6c 61 74 65 78 | 2d 6d 6f 64 65 5d 20 32 |de latex|-mode] 2|
|00001cd0| 29 0a 28 66 73 65 74 20 | 27 70 6c 61 69 6e 2d 74 |).(fset |'plain-t|
|00001ce0| 65 78 2d 6d 6f 64 65 20 | 23 5b 6e 69 6c 20 22 c0 |ex-mode |#[nil ".|
|00001cf0| 20 88 c1 12 c3 14 0d 16 | 06 c7 16 08 c9 16 5c 6e | .......|......\n|
|00001d00| cb 16 0c cd ce cf d0 23 | 87 22 20 5b 74 65 78 2d |.......#|." [tex-|
|00001d10| 63 6f 6d 6d 6f 6e 2d 69 | 6e 69 74 69 61 6c 69 7a |common-i|nitializ|
|00001d20| 61 74 69 6f 6e 20 22 54 | 65 58 22 20 6d 6f 64 65 |ation "T|eX" mode|
|00001d30| 2d 6e 61 6d 65 20 70 6c | 61 69 6e 2d 74 65 78 2d |-name pl|ain-tex-|
|00001d40| 6d 6f 64 65 20 6d 61 6a | 6f 72 2d 6d 6f 64 65 20 |mode maj|or-mode |
|00001d50| 74 65 78 2d 72 75 6e 2d | 63 6f 6d 6d 61 6e 64 20 |tex-run-|command |
|00001d60| 74 65 78 2d 63 6f 6d 6d | 61 6e 64 20 22 25 2a 2a |tex-comm|and "%**|
|00001d70| 73 74 61 72 74 20 6f 66 | 20 68 65 61 64 65 72 22 |start of| header"|
|00001d80| 20 74 65 78 2d 73 74 61 | 72 74 2d 6f 66 2d 68 65 | tex-sta|rt-of-he|
|00001d90| 61 64 65 72 20 22 25 2a | 2a 65 6e 64 20 6f 66 20 |ader "%*|*end of |
|00001da0| 68 65 61 64 65 72 22 20 | 74 65 78 2d 65 6e 64 2d |header" |tex-end-|
|00001db0| 6f 66 2d 68 65 61 64 65 | 72 20 22 5c 5c 62 79 65 |of-heade|r "\\bye|
|00001dc0| 5c 6e 22 20 74 65 78 2d | 74 72 61 69 6c 65 72 20 |\n" tex-|trailer |
|00001dd0| 72 75 6e 2d 68 6f 6f 6b | 73 20 74 65 78 74 2d 6d |run-hook|s text-m|
|00001de0| 6f 64 65 2d 68 6f 6f 6b | 20 74 65 78 2d 6d 6f 64 |ode-hook| tex-mod|
|00001df0| 65 2d 68 6f 6f 6b 20 70 | 6c 61 69 6e 2d 74 65 78 |e-hook p|lain-tex|
|00001e00| 2d 6d 6f 64 65 2d 68 6f | 6f 6b 5d 20 34 20 22 5c |-mode-ho|ok] 4 "\|
|00001e10| 0a 4d 61 6a 6f 72 20 6d | 6f 64 65 20 66 6f 72 20 |.Major m|ode for |
|00001e20| 65 64 69 74 69 6e 67 20 | 66 69 6c 65 73 20 6f 66 |editing |files of|
|00001e30| 20 69 6e 70 75 74 20 66 | 6f 72 20 70 6c 61 69 6e | input f|or plain|
|00001e40| 20 54 65 58 2e 0a 4d 61 | 6b 65 73 20 24 20 61 6e | TeX..Ma|kes $ an|
|00001e50| 64 20 7d 20 64 69 73 70 | 6c 61 79 20 74 68 65 20 |d } disp|lay the |
|00001e60| 63 68 61 72 61 63 74 65 | 72 73 20 74 68 65 79 20 |characte|rs they |
|00001e70| 6d 61 74 63 68 2e 0a 4d | 61 6b 65 73 20 5c 22 20 |match..M|akes \" |
|00001e80| 69 6e 73 65 72 74 20 60 | 60 20 77 68 65 6e 20 69 |insert `|` when i|
|00001e90| 74 20 73 65 65 6d 73 20 | 74 6f 20 62 65 20 74 68 |t seems |to be th|
|00001ea0| 65 20 62 65 67 69 6e 6e | 69 6e 67 20 6f 66 20 61 |e beginn|ing of a|
|00001eb0| 20 71 75 6f 74 61 74 69 | 6f 6e 2c 0a 61 6e 64 20 | quotati|on,.and |
|00001ec0| 27 27 20 77 68 65 6e 20 | 69 74 20 61 70 70 65 61 |'' when |it appea|
|00001ed0| 72 73 20 74 6f 20 62 65 | 20 74 68 65 20 65 6e 64 |rs to be| the end|
|00001ee0| 3b 20 69 74 20 69 6e 73 | 65 72 74 73 20 5c 22 20 |; it ins|erts \" |
|00001ef0| 6f 6e 6c 79 20 61 66 74 | 65 72 20 61 20 5c 5c 2e |only aft|er a \\.|
|00001f00| 0a 0a 55 73 65 20 5c 5c | 5b 74 65 78 2d 72 65 67 |..Use \\|[tex-reg|
|00001f10| 69 6f 6e 5d 20 74 6f 20 | 72 75 6e 20 54 65 58 20 |ion] to |run TeX |
|00001f20| 6f 6e 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 72 |on the c|urrent r|
|00001f30| 65 67 69 6f 6e 2c 20 70 | 6c 75 73 20 61 20 5c 22 |egion, p|lus a \"|
|00001f40| 68 65 61 64 65 72 5c 22 | 0a 63 6f 70 69 65 64 20 |header\"|.copied |
|00001f50| 66 72 6f 6d 20 74 68 65 | 20 74 6f 70 20 6f 66 20 |from the| top of |
|00001f60| 74 68 65 20 66 69 6c 65 | 20 28 63 6f 6e 74 61 69 |the file| (contai|
|00001f70| 6e 69 6e 67 20 6d 61 63 | 72 6f 20 64 65 66 69 6e |ning mac|ro defin|
|00001f80| 69 74 69 6f 6e 73 2c 20 | 65 74 63 2e 29 2c 0a 72 |itions, |etc.),.r|
|00001f90| 75 6e 6e 69 6e 67 20 54 | 65 58 20 75 6e 64 65 72 |unning T|eX under|
|00001fa0| 20 61 20 73 70 65 63 69 | 61 6c 20 73 75 62 73 68 | a speci|al subsh|
|00001fb0| 65 6c 6c 2e 20 20 5c 5c | 5b 74 65 78 2d 62 75 66 |ell. \\|[tex-buf|
|00001fc0| 66 65 72 5d 20 64 6f 65 | 73 20 74 68 65 20 77 68 |fer] doe|s the wh|
|00001fd0| 6f 6c 65 20 62 75 66 66 | 65 72 2e 0a 5c 5c 5b 74 |ole buff|er..\\[t|
|00001fe0| 65 78 2d 66 69 6c 65 5d | 20 73 61 76 65 73 20 74 |ex-file]| saves t|
|00001ff0| 68 65 20 62 75 66 66 65 | 72 20 61 6e 64 20 74 68 |he buffe|r and th|
|00002000| 65 6e 20 70 72 6f 63 65 | 73 73 65 73 20 74 68 65 |en proce|sses the|
|00002010| 20 66 69 6c 65 2e 0a 5c | 5c 5b 74 65 78 2d 70 72 | file..\|\[tex-pr|
|00002020| 69 6e 74 5d 20 70 72 69 | 6e 74 73 20 74 68 65 20 |int] pri|nts the |
|00002030| 2e 64 76 69 20 66 69 6c | 65 20 6d 61 64 65 20 62 |.dvi fil|e made b|
|00002040| 79 20 61 6e 79 20 6f 66 | 20 74 68 65 73 65 2e 0a |y any of| these..|
|00002050| 5c 5c 5b 74 65 78 2d 76 | 69 65 77 5d 20 70 72 65 |\\[tex-v|iew] pre|
|00002060| 76 69 65 77 73 20 74 68 | 65 20 2e 64 76 69 20 66 |views th|e .dvi f|
|00002070| 69 6c 65 20 6d 61 64 65 | 20 62 79 20 61 6e 79 20 |ile made| by any |
|00002080| 6f 66 20 74 68 65 73 65 | 2e 0a 5c 5c 5b 74 65 78 |of these|..\\[tex|
|00002090| 2d 62 69 62 74 65 78 2d | 66 69 6c 65 5d 20 72 75 |-bibtex-|file] ru|
|000020a0| 6e 73 20 62 69 62 74 65 | 78 20 6f 6e 20 74 68 65 |ns bibte|x on the|
|000020b0| 20 66 69 6c 65 20 6f 66 | 20 74 68 65 20 63 75 72 | file of| the cur|
|000020c0| 72 65 6e 74 20 62 75 66 | 66 65 72 2e 0a 0a 55 73 |rent buf|fer...Us|
|000020d0| 65 20 5c 5c 5b 76 61 6c | 69 64 61 74 65 2d 74 65 |e \\[val|idate-te|
|000020e0| 78 2d 62 75 66 66 65 72 | 5d 20 74 6f 20 63 68 65 |x-buffer|] to che|
|000020f0| 63 6b 20 62 75 66 66 65 | 72 20 66 6f 72 20 70 61 |ck buffe|r for pa|
|00002100| 72 61 67 72 61 70 68 73 | 20 63 6f 6e 74 61 69 6e |ragraphs| contain|
|00002110| 69 6e 67 0a 6d 69 73 6d | 61 74 63 68 65 64 20 24 |ing.mism|atched $|
|00002120| 27 73 20 6f 72 20 62 72 | 61 63 65 73 2e 0a 0a 53 |'s or br|aces...S|
|00002130| 70 65 63 69 61 6c 20 63 | 6f 6d 6d 61 6e 64 73 3a |pecial c|ommands:|
|00002140| 0a 5c 5c 7b 74 65 78 2d | 6d 6f 64 65 2d 6d 61 70 |.\\{tex-|mode-map|
|00002150| 7d 0a 0a 4d 6f 64 65 20 | 76 61 72 69 61 62 6c 65 |}..Mode |variable|
|00002160| 73 3a 0a 74 65 78 2d 72 | 75 6e 2d 63 6f 6d 6d 61 |s:.tex-r|un-comma|
|00002170| 6e 64 0a 09 43 6f 6d 6d | 61 6e 64 20 73 74 72 69 |nd..Comm|and stri|
|00002180| 6e 67 20 75 73 65 64 20 | 62 79 20 5c 5c 5b 74 65 |ng used |by \\[te|
|00002190| 78 2d 72 65 67 69 6f 6e | 5d 20 6f 72 20 5c 5c 5b |x-region|] or \\[|
|000021a0| 74 65 78 2d 62 75 66 66 | 65 72 5d 2e 0a 74 65 78 |tex-buff|er]..tex|
|000021b0| 2d 64 69 72 65 63 74 6f | 72 79 0a 09 44 69 72 65 |-directo|ry..Dire|
|000021c0| 63 74 6f 72 79 20 69 6e | 20 77 68 69 63 68 20 74 |ctory in| which t|
|000021d0| 6f 20 63 72 65 61 74 65 | 20 74 65 6d 70 6f 72 61 |o create| tempora|
|000021e0| 72 79 20 66 69 6c 65 73 | 20 66 6f 72 20 54 65 58 |ry files| for TeX|
|000021f0| 20 6a 6f 62 73 0a 09 72 | 75 6e 20 62 79 20 5c 5c | jobs..r|un by \\|
|00002200| 5b 74 65 78 2d 72 65 67 | 69 6f 6e 5d 20 6f 72 20 |[tex-reg|ion] or |
|00002210| 5c 5c 5b 74 65 78 2d 62 | 75 66 66 65 72 5d 2e 0a |\\[tex-b|uffer]..|
|00002220| 74 65 78 2d 64 76 69 2d | 70 72 69 6e 74 2d 63 6f |tex-dvi-|print-co|
|00002230| 6d 6d 61 6e 64 0a 09 43 | 6f 6d 6d 61 6e 64 20 73 |mmand..C|ommand s|
|00002240| 74 72 69 6e 67 20 75 73 | 65 64 20 62 79 20 5c 5c |tring us|ed by \\|
|00002250| 5b 74 65 78 2d 70 72 69 | 6e 74 5d 20 74 6f 20 70 |[tex-pri|nt] to p|
|00002260| 72 69 6e 74 20 61 20 2e | 64 76 69 20 66 69 6c 65 |rint a .|dvi file|
|00002270| 2e 0a 74 65 78 2d 61 6c | 74 2d 64 76 69 2d 70 72 |..tex-al|t-dvi-pr|
|00002280| 69 6e 74 2d 63 6f 6d 6d | 61 6e 64 0a 09 41 6c 74 |int-comm|and..Alt|
|00002290| 65 72 6e 61 74 69 76 65 | 20 63 6f 6d 6d 61 6e 64 |ernative| command|
|000022a0| 20 73 74 72 69 6e 67 20 | 75 73 65 64 20 62 79 20 | string |used by |
|000022b0| 5c 5c 5b 74 65 78 2d 70 | 72 69 6e 74 5d 20 28 77 |\\[tex-p|rint] (w|
|000022c0| 68 65 6e 20 67 69 76 65 | 6e 20 61 20 70 72 65 66 |hen give|n a pref|
|000022d0| 69 78 0a 09 61 72 67 75 | 6d 65 6e 74 29 20 74 6f |ix..argu|ment) to|
|000022e0| 20 70 72 69 6e 74 20 61 | 20 2e 64 76 69 20 66 69 | print a| .dvi fi|
|000022f0| 6c 65 2e 0a 74 65 78 2d | 64 76 69 2d 76 69 65 77 |le..tex-|dvi-view|
|00002300| 2d 63 6f 6d 6d 61 6e 64 | 0a 09 43 6f 6d 6d 61 6e |-command|..Comman|
|00002310| 64 20 73 74 72 69 6e 67 | 20 75 73 65 64 20 62 79 |d string| used by|
|00002320| 20 5c 5c 5b 74 65 78 2d | 76 69 65 77 5d 20 74 6f | \\[tex-|view] to|
|00002330| 20 70 72 65 76 69 65 77 | 20 61 20 2e 64 76 69 20 | preview| a .dvi |
|00002340| 66 69 6c 65 2e 0a 74 65 | 78 2d 73 68 6f 77 2d 71 |file..te|x-show-q|
|00002350| 75 65 75 65 2d 63 6f 6d | 6d 61 6e 64 0a 09 43 6f |ueue-com|mand..Co|
|00002360| 6d 6d 61 6e 64 20 73 74 | 72 69 6e 67 20 75 73 65 |mmand st|ring use|
|00002370| 64 20 62 79 20 5c 5c 5b | 74 65 78 2d 73 68 6f 77 |d by \\[|tex-show|
|00002380| 2d 70 72 69 6e 74 2d 71 | 75 65 75 65 5d 20 74 6f |-print-q|ueue] to|
|00002390| 20 73 68 6f 77 20 74 68 | 65 20 70 72 69 6e 74 0a | show th|e print.|
|000023a0| 09 71 75 65 75 65 20 74 | 68 61 74 20 5c 5c 5b 74 |.queue t|hat \\[t|
|000023b0| 65 78 2d 70 72 69 6e 74 | 5d 20 70 75 74 20 79 6f |ex-print|] put yo|
|000023c0| 75 72 20 6a 6f 62 20 6f | 6e 2e 0a 0a 45 6e 74 65 |ur job o|n...Ente|
|000023d0| 72 69 6e 67 20 50 6c 61 | 69 6e 2d 74 65 78 20 6d |ring Pla|in-tex m|
|000023e0| 6f 64 65 20 63 61 6c 6c | 73 20 74 68 65 20 76 61 |ode call|s the va|
|000023f0| 6c 75 65 20 6f 66 20 74 | 65 78 74 2d 6d 6f 64 65 |lue of t|ext-mode|
|00002400| 2d 68 6f 6f 6b 2c 20 74 | 68 65 6e 20 74 68 65 20 |-hook, t|hen the |
|00002410| 76 61 6c 75 65 20 6f 66 | 0a 74 65 78 2d 6d 6f 64 |value of|.tex-mod|
|00002420| 65 2d 68 6f 6f 6b 2c 20 | 61 6e 64 20 74 68 65 6e |e-hook, |and then|
|00002430| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 70 6c | the val|ue of pl|
|00002440| 61 69 6e 2d 74 65 78 2d | 6d 6f 64 65 2d 68 6f 6f |ain-tex-|mode-hoo|
|00002450| 6b 2e 20 20 57 68 65 6e | 20 74 68 65 20 73 70 65 |k. When| the spe|
|00002460| 63 69 61 6c 0a 73 75 62 | 73 68 65 6c 6c 20 69 73 |cial.sub|shell is|
|00002470| 20 69 6e 69 74 69 61 74 | 65 64 2c 20 74 68 65 20 | initiat|ed, the |
|00002480| 76 61 6c 75 65 20 6f 66 | 20 74 65 78 2d 73 68 65 |value of| tex-she|
|00002490| 6c 6c 2d 68 6f 6f 6b 20 | 69 73 20 63 61 6c 6c 65 |ll-hook |is calle|
|000024a0| 64 2e 22 20 6e 69 6c 5d | 29 0a 28 66 73 65 74 20 |d." nil]|).(fset |
|000024b0| 27 70 6c 61 69 6e 2d 54 | 65 58 2d 6d 6f 64 65 20 |'plain-T|eX-mode |
|000024c0| 27 70 6c 61 69 6e 2d 74 | 65 78 2d 6d 6f 64 65 29 |'plain-t|ex-mode)|
|000024d0| 0a 28 66 73 65 74 20 27 | 6c 61 74 65 78 2d 6d 6f |.(fset '|latex-mo|
|000024e0| 64 65 20 23 5b 6e 69 6c | 20 22 c0 20 88 c1 12 c3 |de #[nil| ". ....|
|000024f0| 14 0d 16 06 c7 16 08 c9 | 16 5c 6e cb 16 0c cd ce |........|.\n.....|
|00002500| cf d0 23 87 22 20 5b 74 | 65 78 2d 63 6f 6d 6d 6f |..#." [t|ex-commo|
|00002510| 6e 2d 69 6e 69 74 69 61 | 6c 69 7a 61 74 69 6f 6e |n-initia|lization|
|00002520| 20 22 4c 61 54 65 58 22 | 20 6d 6f 64 65 2d 6e 61 | "LaTeX"| mode-na|
|00002530| 6d 65 20 6c 61 74 65 78 | 2d 6d 6f 64 65 20 6d 61 |me latex|-mode ma|
|00002540| 6a 6f 72 2d 6d 6f 64 65 | 20 6c 61 74 65 78 2d 72 |jor-mode| latex-r|
|00002550| 75 6e 2d 63 6f 6d 6d 61 | 6e 64 20 74 65 78 2d 63 |un-comma|nd tex-c|
|00002560| 6f 6d 6d 61 6e 64 20 22 | 5c 5c 64 6f 63 75 6d 65 |ommand "|\\docume|
|00002570| 6e 74 73 74 79 6c 65 22 | 20 74 65 78 2d 73 74 61 |ntstyle"| tex-sta|
|00002580| 72 74 2d 6f 66 2d 68 65 | 61 64 65 72 20 22 5c 5c |rt-of-he|ader "\\|
|00002590| 62 65 67 69 6e 7b 64 6f | 63 75 6d 65 6e 74 7d 22 |begin{do|cument}"|
|000025a0| 20 74 65 78 2d 65 6e 64 | 2d 6f 66 2d 68 65 61 64 | tex-end|-of-head|
|000025b0| 65 72 20 22 5c 5c 65 6e | 64 7b 64 6f 63 75 6d 65 |er "\\en|d{docume|
|000025c0| 6e 74 7d 5c 6e 22 20 74 | 65 78 2d 74 72 61 69 6c |nt}\n" t|ex-trail|
|000025d0| 65 72 20 72 75 6e 2d 68 | 6f 6f 6b 73 20 74 65 78 |er run-h|ooks tex|
|000025e0| 74 2d 6d 6f 64 65 2d 68 | 6f 6f 6b 20 74 65 78 2d |t-mode-h|ook tex-|
|000025f0| 6d 6f 64 65 2d 68 6f 6f | 6b 20 6c 61 74 65 78 2d |mode-hoo|k latex-|
|00002600| 6d 6f 64 65 2d 68 6f 6f | 6b 5d 20 34 20 22 5c 0a |mode-hoo|k] 4 "\.|
|00002610| 4d 61 6a 6f 72 20 6d 6f | 64 65 20 66 6f 72 20 65 |Major mo|de for e|
|00002620| 64 69 74 69 6e 67 20 66 | 69 6c 65 73 20 6f 66 20 |diting f|iles of |
|00002630| 69 6e 70 75 74 20 66 6f | 72 20 4c 61 54 65 58 2e |input fo|r LaTeX.|
|00002640| 0a 4d 61 6b 65 73 20 24 | 20 61 6e 64 20 7d 20 64 |.Makes $| and } d|
|00002650| 69 73 70 6c 61 79 20 74 | 68 65 20 63 68 61 72 61 |isplay t|he chara|
|00002660| 63 74 65 72 73 20 74 68 | 65 79 20 6d 61 74 63 68 |cters th|ey match|
|00002670| 2e 0a 4d 61 6b 65 73 20 | 5c 22 20 69 6e 73 65 72 |..Makes |\" inser|
|00002680| 74 20 60 60 20 77 68 65 | 6e 20 69 74 20 73 65 65 |t `` whe|n it see|
|00002690| 6d 73 20 74 6f 20 62 65 | 20 74 68 65 20 62 65 67 |ms to be| the beg|
|000026a0| 69 6e 6e 69 6e 67 20 6f | 66 20 61 20 71 75 6f 74 |inning o|f a quot|
|000026b0| 61 74 69 6f 6e 2c 0a 61 | 6e 64 20 27 27 20 77 68 |ation,.a|nd '' wh|
|000026c0| 65 6e 20 69 74 20 61 70 | 70 65 61 72 73 20 74 6f |en it ap|pears to|
|000026d0| 20 62 65 20 74 68 65 20 | 65 6e 64 3b 20 69 74 20 | be the |end; it |
|000026e0| 69 6e 73 65 72 74 73 20 | 5c 22 20 6f 6e 6c 79 20 |inserts |\" only |
|000026f0| 61 66 74 65 72 20 61 20 | 5c 5c 2e 0a 0a 55 73 65 |after a |\\...Use|
|00002700| 20 5c 5c 5b 74 65 78 2d | 72 65 67 69 6f 6e 5d 20 | \\[tex-|region] |
|00002710| 74 6f 20 72 75 6e 20 4c | 61 54 65 58 20 6f 6e 20 |to run L|aTeX on |
|00002720| 74 68 65 20 63 75 72 72 | 65 6e 74 20 72 65 67 69 |the curr|ent regi|
|00002730| 6f 6e 2c 20 70 6c 75 73 | 20 74 68 65 20 70 72 65 |on, plus| the pre|
|00002740| 61 6d 62 6c 65 0a 63 6f | 70 69 65 64 20 66 72 6f |amble.co|pied fro|
|00002750| 6d 20 74 68 65 20 74 6f | 70 20 6f 66 20 74 68 65 |m the to|p of the|
|00002760| 20 66 69 6c 65 20 28 63 | 6f 6e 74 61 69 6e 69 6e | file (c|ontainin|
|00002770| 67 20 5c 5c 64 6f 63 75 | 6d 65 6e 74 73 74 79 6c |g \\docu|mentstyl|
|00002780| 65 2c 20 65 74 63 2e 29 | 2c 0a 72 75 6e 6e 69 6e |e, etc.)|,.runnin|
|00002790| 67 20 4c 61 54 65 58 20 | 75 6e 64 65 72 20 61 20 |g LaTeX |under a |
|000027a0| 73 70 65 63 69 61 6c 20 | 73 75 62 73 68 65 6c 6c |special |subshell|
|000027b0| 2e 20 20 5c 5c 5b 74 65 | 78 2d 62 75 66 66 65 72 |. \\[te|x-buffer|
|000027c0| 5d 20 64 6f 65 73 20 74 | 68 65 20 77 68 6f 6c 65 |] does t|he whole|
|000027d0| 20 62 75 66 66 65 72 2e | 0a 5c 5c 5b 74 65 78 2d | buffer.|.\\[tex-|
|000027e0| 66 69 6c 65 5d 20 73 61 | 76 65 73 20 74 68 65 20 |file] sa|ves the |
|000027f0| 62 75 66 66 65 72 20 61 | 6e 64 20 74 68 65 6e 20 |buffer a|nd then |
|00002800| 70 72 6f 63 65 73 73 65 | 73 20 74 68 65 20 66 69 |processe|s the fi|
|00002810| 6c 65 2e 0a 5c 5c 5b 74 | 65 78 2d 70 72 69 6e 74 |le..\\[t|ex-print|
|00002820| 5d 20 70 72 69 6e 74 73 | 20 74 68 65 20 2e 64 76 |] prints| the .dv|
|00002830| 69 20 66 69 6c 65 20 6d | 61 64 65 20 62 79 20 61 |i file m|ade by a|
|00002840| 6e 79 20 6f 66 20 74 68 | 65 73 65 2e 0a 5c 5c 5b |ny of th|ese..\\[|
|00002850| 74 65 78 2d 76 69 65 77 | 5d 20 70 72 65 76 69 65 |tex-view|] previe|
|00002860| 77 73 20 74 68 65 20 2e | 64 76 69 20 66 69 6c 65 |ws the .|dvi file|
|00002870| 20 6d 61 64 65 20 62 79 | 20 61 6e 79 20 6f 66 20 | made by| any of |
|00002880| 74 68 65 73 65 2e 0a 5c | 5c 5b 74 65 78 2d 62 69 |these..\|\[tex-bi|
|00002890| 62 74 65 78 2d 66 69 6c | 65 5d 20 72 75 6e 73 20 |btex-fil|e] runs |
|000028a0| 62 69 62 74 65 78 20 6f | 6e 20 74 68 65 20 66 69 |bibtex o|n the fi|
|000028b0| 6c 65 20 6f 66 20 74 68 | 65 20 63 75 72 72 65 6e |le of th|e curren|
|000028c0| 74 20 62 75 66 66 65 72 | 2e 0a 0a 55 73 65 20 5c |t buffer|...Use \|
|000028d0| 5c 5b 76 61 6c 69 64 61 | 74 65 2d 74 65 78 2d 62 |\[valida|te-tex-b|
|000028e0| 75 66 66 65 72 5d 20 74 | 6f 20 63 68 65 63 6b 20 |uffer] t|o check |
|000028f0| 62 75 66 66 65 72 20 66 | 6f 72 20 70 61 72 61 67 |buffer f|or parag|
|00002900| 72 61 70 68 73 20 63 6f | 6e 74 61 69 6e 69 6e 67 |raphs co|ntaining|
|00002910| 0a 6d 69 73 6d 61 74 63 | 68 65 64 20 24 27 73 20 |.mismatc|hed $'s |
|00002920| 6f 72 20 62 72 61 63 65 | 73 2e 0a 0a 53 70 65 63 |or brace|s...Spec|
|00002930| 69 61 6c 20 63 6f 6d 6d | 61 6e 64 73 3a 0a 5c 5c |ial comm|ands:.\\|
|00002940| 7b 74 65 78 2d 6d 6f 64 | 65 2d 6d 61 70 7d 0a 0a |{tex-mod|e-map}..|
|00002950| 4d 6f 64 65 20 76 61 72 | 69 61 62 6c 65 73 3a 0a |Mode var|iables:.|
|00002960| 6c 61 74 65 78 2d 72 75 | 6e 2d 63 6f 6d 6d 61 6e |latex-ru|n-comman|
|00002970| 64 0a 09 43 6f 6d 6d 61 | 6e 64 20 73 74 72 69 6e |d..Comma|nd strin|
|00002980| 67 20 75 73 65 64 20 62 | 79 20 5c 5c 5b 74 65 78 |g used b|y \\[tex|
|00002990| 2d 72 65 67 69 6f 6e 5d | 20 6f 72 20 5c 5c 5b 74 |-region]| or \\[t|
|000029a0| 65 78 2d 62 75 66 66 65 | 72 5d 2e 0a 74 65 78 2d |ex-buffe|r]..tex-|
|000029b0| 64 69 72 65 63 74 6f 72 | 79 0a 09 44 69 72 65 63 |director|y..Direc|
|000029c0| 74 6f 72 79 20 69 6e 20 | 77 68 69 63 68 20 74 6f |tory in |which to|
|000029d0| 20 63 72 65 61 74 65 20 | 74 65 6d 70 6f 72 61 72 | create |temporar|
|000029e0| 79 20 66 69 6c 65 73 20 | 66 6f 72 20 4c 61 54 65 |y files |for LaTe|
|000029f0| 58 20 6a 6f 62 73 0a 09 | 72 75 6e 20 62 79 20 5c |X jobs..|run by \|
|00002a00| 5c 5b 74 65 78 2d 72 65 | 67 69 6f 6e 5d 20 6f 72 |\[tex-re|gion] or|
|00002a10| 20 5c 5c 5b 74 65 78 2d | 62 75 66 66 65 72 5d 2e | \\[tex-|buffer].|
|00002a20| 0a 74 65 78 2d 64 76 69 | 2d 70 72 69 6e 74 2d 63 |.tex-dvi|-print-c|
|00002a30| 6f 6d 6d 61 6e 64 0a 09 | 43 6f 6d 6d 61 6e 64 20 |ommand..|Command |
|00002a40| 73 74 72 69 6e 67 20 75 | 73 65 64 20 62 79 20 5c |string u|sed by \|
|00002a50| 5c 5b 74 65 78 2d 70 72 | 69 6e 74 5d 20 74 6f 20 |\[tex-pr|int] to |
|00002a60| 70 72 69 6e 74 20 61 20 | 2e 64 76 69 20 66 69 6c |print a |.dvi fil|
|00002a70| 65 2e 0a 74 65 78 2d 61 | 6c 74 2d 64 76 69 2d 70 |e..tex-a|lt-dvi-p|
|00002a80| 72 69 6e 74 2d 63 6f 6d | 6d 61 6e 64 0a 09 41 6c |rint-com|mand..Al|
|00002a90| 74 65 72 6e 61 74 69 76 | 65 20 63 6f 6d 6d 61 6e |ternativ|e comman|
|00002aa0| 64 20 73 74 72 69 6e 67 | 20 75 73 65 64 20 62 79 |d string| used by|
|00002ab0| 20 5c 5c 5b 74 65 78 2d | 70 72 69 6e 74 5d 20 28 | \\[tex-|print] (|
|00002ac0| 77 68 65 6e 20 67 69 76 | 65 6e 20 61 20 70 72 65 |when giv|en a pre|
|00002ad0| 66 69 78 0a 09 61 72 67 | 75 6d 65 6e 74 29 20 74 |fix..arg|ument) t|
|00002ae0| 6f 20 70 72 69 6e 74 20 | 61 20 2e 64 76 69 20 66 |o print |a .dvi f|
|00002af0| 69 6c 65 2e 0a 74 65 78 | 2d 64 76 69 2d 76 69 65 |ile..tex|-dvi-vie|
|00002b00| 77 2d 63 6f 6d 6d 61 6e | 64 0a 09 43 6f 6d 6d 61 |w-comman|d..Comma|
|00002b10| 6e 64 20 73 74 72 69 6e | 67 20 75 73 65 64 20 62 |nd strin|g used b|
|00002b20| 79 20 5c 5c 5b 74 65 78 | 2d 76 69 65 77 5d 20 74 |y \\[tex|-view] t|
|00002b30| 6f 20 70 72 65 76 69 65 | 77 20 61 20 2e 64 76 69 |o previe|w a .dvi|
|00002b40| 20 66 69 6c 65 2e 0a 74 | 65 78 2d 73 68 6f 77 2d | file..t|ex-show-|
|00002b50| 71 75 65 75 65 2d 63 6f | 6d 6d 61 6e 64 0a 09 43 |queue-co|mmand..C|
|00002b60| 6f 6d 6d 61 6e 64 20 73 | 74 72 69 6e 67 20 75 73 |ommand s|tring us|
|00002b70| 65 64 20 62 79 20 5c 5c | 5b 74 65 78 2d 73 68 6f |ed by \\|[tex-sho|
|00002b80| 77 2d 70 72 69 6e 74 2d | 71 75 65 75 65 5d 20 74 |w-print-|queue] t|
|00002b90| 6f 20 73 68 6f 77 20 74 | 68 65 20 70 72 69 6e 74 |o show t|he print|
|00002ba0| 0a 09 71 75 65 75 65 20 | 74 68 61 74 20 5c 5c 5b |..queue |that \\[|
|00002bb0| 74 65 78 2d 70 72 69 6e | 74 5d 20 70 75 74 20 79 |tex-prin|t] put y|
|00002bc0| 6f 75 72 20 6a 6f 62 20 | 6f 6e 2e 0a 0a 45 6e 74 |our job |on...Ent|
|00002bd0| 65 72 69 6e 67 20 4c 61 | 74 65 78 20 6d 6f 64 65 |ering La|tex mode|
|00002be0| 20 63 61 6c 6c 73 20 74 | 68 65 20 76 61 6c 75 65 | calls t|he value|
|00002bf0| 20 6f 66 20 74 65 78 74 | 2d 6d 6f 64 65 2d 68 6f | of text|-mode-ho|
|00002c00| 6f 6b 2c 20 74 68 65 6e | 20 74 68 65 20 76 61 6c |ok, then| the val|
|00002c10| 75 65 20 6f 66 0a 74 65 | 78 2d 6d 6f 64 65 2d 68 |ue of.te|x-mode-h|
|00002c20| 6f 6f 6b 2c 20 61 6e 64 | 20 74 68 65 6e 20 74 68 |ook, and| then th|
|00002c30| 65 20 76 61 6c 75 65 20 | 6f 66 20 6c 61 74 65 78 |e value |of latex|
|00002c40| 2d 6d 6f 64 65 2d 68 6f | 6f 6b 2e 20 20 57 68 65 |-mode-ho|ok. Whe|
|00002c50| 6e 20 74 68 65 20 73 70 | 65 63 69 61 6c 0a 73 75 |n the sp|ecial.su|
|00002c60| 62 73 68 65 6c 6c 20 69 | 73 20 69 6e 69 74 69 61 |bshell i|s initia|
|00002c70| 74 65 64 2c 20 74 68 65 | 20 76 61 6c 75 65 20 6f |ted, the| value o|
|00002c80| 66 20 74 65 78 2d 73 68 | 65 6c 6c 2d 68 6f 6f 6b |f tex-sh|ell-hook|
|00002c90| 20 69 73 20 63 61 6c 6c | 65 64 2e 22 20 6e 69 6c | is call|ed." nil|
|00002ca0| 5d 29 0a 28 66 73 65 74 | 20 27 73 6c 69 74 65 78 |]).(fset| 'slitex|
|00002cb0| 2d 6d 6f 64 65 20 23 5b | 6e 69 6c 20 22 c0 20 88 |-mode #[|nil ". .|
|00002cc0| c1 12 c3 14 0d 16 06 c7 | 16 08 c9 16 5c 6e cb 16 |........|....\n..|
|00002cd0| 0c cd ce cf d0 d1 24 87 | 22 20 5b 74 65 78 2d 63 |......$.|" [tex-c|
|00002ce0| 6f 6d 6d 6f 6e 2d 69 6e | 69 74 69 61 6c 69 7a 61 |ommon-in|itializa|
|00002cf0| 74 69 6f 6e 20 22 53 6c | 69 54 65 58 22 20 6d 6f |tion "Sl|iTeX" mo|
|00002d00| 64 65 2d 6e 61 6d 65 20 | 73 6c 69 74 65 78 2d 6d |de-name |slitex-m|
|00002d10| 6f 64 65 20 6d 61 6a 6f | 72 2d 6d 6f 64 65 20 73 |ode majo|r-mode s|
|00002d20| 6c 69 74 65 78 2d 72 75 | 6e 2d 63 6f 6d 6d 61 6e |litex-ru|n-comman|
|00002d30| 64 20 74 65 78 2d 63 6f | 6d 6d 61 6e 64 20 22 5c |d tex-co|mmand "\|
|00002d40| 5c 64 6f 63 75 6d 65 6e | 74 73 74 79 6c 65 7b 73 |\documen|tstyle{s|
|00002d50| 6c 69 64 65 73 7d 22 20 | 74 65 78 2d 73 74 61 72 |lides}" |tex-star|
|00002d60| 74 2d 6f 66 2d 68 65 61 | 64 65 72 20 22 5c 5c 62 |t-of-hea|der "\\b|
|00002d70| 65 67 69 6e 7b 64 6f 63 | 75 6d 65 6e 74 7d 22 20 |egin{doc|ument}" |
|00002d80| 74 65 78 2d 65 6e 64 2d | 6f 66 2d 68 65 61 64 65 |tex-end-|of-heade|
|00002d90| 72 20 22 5c 5c 65 6e 64 | 7b 64 6f 63 75 6d 65 6e |r "\\end|{documen|
|00002da0| 74 7d 5c 6e 22 20 74 65 | 78 2d 74 72 61 69 6c 65 |t}\n" te|x-traile|
|00002db0| 72 20 72 75 6e 2d 68 6f | 6f 6b 73 20 74 65 78 74 |r run-ho|oks text|
|00002dc0| 2d 6d 6f 64 65 2d 68 6f | 6f 6b 20 74 65 78 2d 6d |-mode-ho|ok tex-m|
|00002dd0| 6f 64 65 2d 68 6f 6f 6b | 20 6c 61 74 65 78 2d 6d |ode-hook| latex-m|
|00002de0| 6f 64 65 2d 68 6f 6f 6b | 20 73 6c 69 74 65 78 2d |ode-hook| slitex-|
|00002df0| 6d 6f 64 65 2d 68 6f 6f | 6b 5d 20 35 20 22 5c 0a |mode-hoo|k] 5 "\.|
|00002e00| 4d 61 6a 6f 72 20 6d 6f | 64 65 20 66 6f 72 20 65 |Major mo|de for e|
|00002e10| 64 69 74 69 6e 67 20 66 | 69 6c 65 73 20 6f 66 20 |diting f|iles of |
|00002e20| 69 6e 70 75 74 20 66 6f | 72 20 53 6c 69 54 65 58 |input fo|r SliTeX|
|00002e30| 2e 0a 4d 61 6b 65 73 20 | 24 20 61 6e 64 20 7d 20 |..Makes |$ and } |
|00002e40| 64 69 73 70 6c 61 79 20 | 74 68 65 20 63 68 61 72 |display |the char|
|00002e50| 61 63 74 65 72 73 20 74 | 68 65 79 20 6d 61 74 63 |acters t|hey matc|
|00002e60| 68 2e 0a 4d 61 6b 65 73 | 20 5c 22 20 69 6e 73 65 |h..Makes| \" inse|
|00002e70| 72 74 20 60 60 20 77 68 | 65 6e 20 69 74 20 73 65 |rt `` wh|en it se|
|00002e80| 65 6d 73 20 74 6f 20 62 | 65 20 74 68 65 20 62 65 |ems to b|e the be|
|00002e90| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 61 20 71 75 6f |ginning |of a quo|
|00002ea0| 74 61 74 69 6f 6e 2c 0a | 61 6e 64 20 27 27 20 77 |tation,.|and '' w|
|00002eb0| 68 65 6e 20 69 74 20 61 | 70 70 65 61 72 73 20 74 |hen it a|ppears t|
|00002ec0| 6f 20 62 65 20 74 68 65 | 20 65 6e 64 3b 20 69 74 |o be the| end; it|
|00002ed0| 20 69 6e 73 65 72 74 73 | 20 5c 22 20 6f 6e 6c 79 | inserts| \" only|
|00002ee0| 20 61 66 74 65 72 20 61 | 20 5c 5c 2e 0a 0a 55 73 | after a| \\...Us|
|00002ef0| 65 20 5c 5c 5b 74 65 78 | 2d 72 65 67 69 6f 6e 5d |e \\[tex|-region]|
|00002f00| 20 74 6f 20 72 75 6e 20 | 53 6c 69 54 65 58 20 6f | to run |SliTeX o|
|00002f10| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 72 65 |n the cu|rrent re|
|00002f20| 67 69 6f 6e 2c 20 70 6c | 75 73 20 74 68 65 20 70 |gion, pl|us the p|
|00002f30| 72 65 61 6d 62 6c 65 0a | 63 6f 70 69 65 64 20 66 |reamble.|copied f|
|00002f40| 72 6f 6d 20 74 68 65 20 | 74 6f 70 20 6f 66 20 74 |rom the |top of t|
|00002f50| 68 65 20 66 69 6c 65 20 | 28 63 6f 6e 74 61 69 6e |he file |(contain|
|00002f60| 69 6e 67 20 5c 5c 64 6f | 63 75 6d 65 6e 74 73 74 |ing \\do|cumentst|
|00002f70| 79 6c 65 2c 20 65 74 63 | 2e 29 2c 0a 72 75 6e 6e |yle, etc|.),.runn|
|00002f80| 69 6e 67 20 53 6c 69 54 | 65 58 20 75 6e 64 65 72 |ing SliT|eX under|
|00002f90| 20 61 20 73 70 65 63 69 | 61 6c 20 73 75 62 73 68 | a speci|al subsh|
|00002fa0| 65 6c 6c 2e 20 20 5c 5c | 5b 74 65 78 2d 62 75 66 |ell. \\|[tex-buf|
|00002fb0| 66 65 72 5d 20 64 6f 65 | 73 20 74 68 65 20 77 68 |fer] doe|s the wh|
|00002fc0| 6f 6c 65 20 62 75 66 66 | 65 72 2e 0a 5c 5c 5b 74 |ole buff|er..\\[t|
|00002fd0| 65 78 2d 66 69 6c 65 5d | 20 73 61 76 65 73 20 74 |ex-file]| saves t|
|00002fe0| 68 65 20 62 75 66 66 65 | 72 20 61 6e 64 20 74 68 |he buffe|r and th|
|00002ff0| 65 6e 20 70 72 6f 63 65 | 73 73 65 73 20 74 68 65 |en proce|sses the|
|00003000| 20 66 69 6c 65 2e 0a 5c | 5c 5b 74 65 78 2d 70 72 | file..\|\[tex-pr|
|00003010| 69 6e 74 5d 20 70 72 69 | 6e 74 73 20 74 68 65 20 |int] pri|nts the |
|00003020| 2e 64 76 69 20 66 69 6c | 65 20 6d 61 64 65 20 62 |.dvi fil|e made b|
|00003030| 79 20 61 6e 79 20 6f 66 | 20 74 68 65 73 65 2e 0a |y any of| these..|
|00003040| 5c 5c 5b 74 65 78 2d 76 | 69 65 77 5d 20 70 72 65 |\\[tex-v|iew] pre|
|00003050| 76 69 65 77 73 20 74 68 | 65 20 2e 64 76 69 20 66 |views th|e .dvi f|
|00003060| 69 6c 65 20 6d 61 64 65 | 20 62 79 20 61 6e 79 20 |ile made| by any |
|00003070| 6f 66 20 74 68 65 73 65 | 2e 0a 5c 5c 5b 74 65 78 |of these|..\\[tex|
|00003080| 2d 62 69 62 74 65 78 2d | 66 69 6c 65 5d 20 72 75 |-bibtex-|file] ru|
|00003090| 6e 73 20 62 69 62 74 65 | 78 20 6f 6e 20 74 68 65 |ns bibte|x on the|
|000030a0| 20 66 69 6c 65 20 6f 66 | 20 74 68 65 20 63 75 72 | file of| the cur|
|000030b0| 72 65 6e 74 20 62 75 66 | 66 65 72 2e 0a 0a 55 73 |rent buf|fer...Us|
|000030c0| 65 20 5c 5c 5b 76 61 6c | 69 64 61 74 65 2d 74 65 |e \\[val|idate-te|
|000030d0| 78 2d 62 75 66 66 65 72 | 5d 20 74 6f 20 63 68 65 |x-buffer|] to che|
|000030e0| 63 6b 20 62 75 66 66 65 | 72 20 66 6f 72 20 70 61 |ck buffe|r for pa|
|000030f0| 72 61 67 72 61 70 68 73 | 20 63 6f 6e 74 61 69 6e |ragraphs| contain|
|00003100| 69 6e 67 0a 6d 69 73 6d | 61 74 63 68 65 64 20 24 |ing.mism|atched $|
|00003110| 27 73 20 6f 72 20 62 72 | 61 63 65 73 2e 0a 0a 53 |'s or br|aces...S|
|00003120| 70 65 63 69 61 6c 20 63 | 6f 6d 6d 61 6e 64 73 3a |pecial c|ommands:|
|00003130| 0a 5c 5c 7b 74 65 78 2d | 6d 6f 64 65 2d 6d 61 70 |.\\{tex-|mode-map|
|00003140| 7d 0a 0a 4d 6f 64 65 20 | 76 61 72 69 61 62 6c 65 |}..Mode |variable|
|00003150| 73 3a 0a 73 6c 69 74 65 | 78 2d 72 75 6e 2d 63 6f |s:.slite|x-run-co|
|00003160| 6d 6d 61 6e 64 0a 09 43 | 6f 6d 6d 61 6e 64 20 73 |mmand..C|ommand s|
|00003170| 74 72 69 6e 67 20 75 73 | 65 64 20 62 79 20 5c 5c |tring us|ed by \\|
|00003180| 5b 74 65 78 2d 72 65 67 | 69 6f 6e 5d 20 6f 72 20 |[tex-reg|ion] or |
|00003190| 5c 5c 5b 74 65 78 2d 62 | 75 66 66 65 72 5d 2e 0a |\\[tex-b|uffer]..|
|000031a0| 74 65 78 2d 64 69 72 65 | 63 74 6f 72 79 0a 09 44 |tex-dire|ctory..D|
|000031b0| 69 72 65 63 74 6f 72 79 | 20 69 6e 20 77 68 69 63 |irectory| in whic|
|000031c0| 68 20 74 6f 20 63 72 65 | 61 74 65 20 74 65 6d 70 |h to cre|ate temp|
|000031d0| 6f 72 61 72 79 20 66 69 | 6c 65 73 20 66 6f 72 20 |orary fi|les for |
|000031e0| 53 6c 69 54 65 58 20 6a | 6f 62 73 0a 09 72 75 6e |SliTeX j|obs..run|
|000031f0| 20 62 79 20 5c 5c 5b 74 | 65 78 2d 72 65 67 69 6f | by \\[t|ex-regio|
|00003200| 6e 5d 20 6f 72 20 5c 5c | 5b 74 65 78 2d 62 75 66 |n] or \\|[tex-buf|
|00003210| 66 65 72 5d 2e 0a 74 65 | 78 2d 64 76 69 2d 70 72 |fer]..te|x-dvi-pr|
|00003220| 69 6e 74 2d 63 6f 6d 6d | 61 6e 64 0a 09 43 6f 6d |int-comm|and..Com|
|00003230| 6d 61 6e 64 20 73 74 72 | 69 6e 67 20 75 73 65 64 |mand str|ing used|
|00003240| 20 62 79 20 5c 5c 5b 74 | 65 78 2d 70 72 69 6e 74 | by \\[t|ex-print|
|00003250| 5d 20 74 6f 20 70 72 69 | 6e 74 20 61 20 2e 64 76 |] to pri|nt a .dv|
|00003260| 69 20 66 69 6c 65 2e 0a | 74 65 78 2d 61 6c 74 2d |i file..|tex-alt-|
|00003270| 64 76 69 2d 70 72 69 6e | 74 2d 63 6f 6d 6d 61 6e |dvi-prin|t-comman|
|00003280| 64 0a 09 41 6c 74 65 72 | 6e 61 74 69 76 65 20 63 |d..Alter|native c|
|00003290| 6f 6d 6d 61 6e 64 20 73 | 74 72 69 6e 67 20 75 73 |ommand s|tring us|
|000032a0| 65 64 20 62 79 20 5c 5c | 5b 74 65 78 2d 70 72 69 |ed by \\|[tex-pri|
|000032b0| 6e 74 5d 20 28 77 68 65 | 6e 20 67 69 76 65 6e 20 |nt] (whe|n given |
|000032c0| 61 20 70 72 65 66 69 78 | 0a 09 61 72 67 75 6d 65 |a prefix|..argume|
|000032d0| 6e 74 29 20 74 6f 20 70 | 72 69 6e 74 20 61 20 2e |nt) to p|rint a .|
|000032e0| 64 76 69 20 66 69 6c 65 | 2e 0a 74 65 78 2d 64 76 |dvi file|..tex-dv|
|000032f0| 69 2d 76 69 65 77 2d 63 | 6f 6d 6d 61 6e 64 0a 09 |i-view-c|ommand..|
|00003300| 43 6f 6d 6d 61 6e 64 20 | 73 74 72 69 6e 67 20 75 |Command |string u|
|00003310| 73 65 64 20 62 79 20 5c | 5c 5b 74 65 78 2d 76 69 |sed by \|\[tex-vi|
|00003320| 65 77 5d 20 74 6f 20 70 | 72 65 76 69 65 77 20 61 |ew] to p|review a|
|00003330| 20 2e 64 76 69 20 66 69 | 6c 65 2e 0a 74 65 78 2d | .dvi fi|le..tex-|
|00003340| 73 68 6f 77 2d 71 75 65 | 75 65 2d 63 6f 6d 6d 61 |show-que|ue-comma|
|00003350| 6e 64 0a 09 43 6f 6d 6d | 61 6e 64 20 73 74 72 69 |nd..Comm|and stri|
|00003360| 6e 67 20 75 73 65 64 20 | 62 79 20 5c 5c 5b 74 65 |ng used |by \\[te|
|00003370| 78 2d 73 68 6f 77 2d 70 | 72 69 6e 74 2d 71 75 65 |x-show-p|rint-que|
|00003380| 75 65 5d 20 74 6f 20 73 | 68 6f 77 20 74 68 65 20 |ue] to s|how the |
|00003390| 70 72 69 6e 74 0a 09 71 | 75 65 75 65 20 74 68 61 |print..q|ueue tha|
|000033a0| 74 20 5c 5c 5b 74 65 78 | 2d 70 72 69 6e 74 5d 20 |t \\[tex|-print] |
|000033b0| 70 75 74 20 79 6f 75 72 | 20 6a 6f 62 20 6f 6e 2e |put your| job on.|
|000033c0| 0a 0a 45 6e 74 65 72 69 | 6e 67 20 53 6c 69 54 65 |..Enteri|ng SliTe|
|000033d0| 58 20 6d 6f 64 65 20 63 | 61 6c 6c 73 20 74 68 65 |X mode c|alls the|
|000033e0| 20 76 61 6c 75 65 20 6f | 66 20 74 65 78 74 2d 6d | value o|f text-m|
|000033f0| 6f 64 65 2d 68 6f 6f 6b | 2c 20 74 68 65 6e 20 74 |ode-hook|, then t|
|00003400| 68 65 20 76 61 6c 75 65 | 20 6f 66 0a 74 65 78 2d |he value| of.tex-|
|00003410| 6d 6f 64 65 2d 68 6f 6f | 6b 2c 20 74 68 65 6e 20 |mode-hoo|k, then |
|00003420| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 6c 61 74 |the valu|e of lat|
|00003430| 65 78 2d 6d 6f 64 65 2d | 68 6f 6f 6b 2c 20 61 6e |ex-mode-|hook, an|
|00003440| 64 20 74 68 65 6e 20 74 | 68 65 20 76 61 6c 75 65 |d then t|he value|
|00003450| 20 6f 66 0a 73 6c 69 74 | 65 78 2d 6d 6f 64 65 2d | of.slit|ex-mode-|
|00003460| 68 6f 6f 6b 2e 20 20 57 | 68 65 6e 20 74 68 65 20 |hook. W|hen the |
|00003470| 73 70 65 63 69 61 6c 20 | 73 75 62 73 68 65 6c 6c |special |subshell|
|00003480| 20 69 73 20 69 6e 69 74 | 69 61 74 65 64 2c 20 74 | is init|iated, t|
|00003490| 68 65 20 76 61 6c 75 65 | 20 6f 66 0a 74 65 78 2d |he value| of.tex-|
|000034a0| 73 68 65 6c 6c 2d 68 6f | 6f 6b 20 69 73 20 63 61 |shell-ho|ok is ca|
|000034b0| 6c 6c 65 64 2e 22 20 6e | 69 6c 5d 29 0a 28 62 79 |lled." n|il]).(by|
|000034c0| 74 65 2d 63 6f 64 65 20 | 22 c0 c1 4d 88 c2 c3 4d |te-code |"..M...M|
|000034d0| 88 c4 c5 4d 87 22 20 5b | 74 65 78 2d 63 6f 6d 6d |...M." [|tex-comm|
|000034e0| 6f 6e 2d 69 6e 69 74 69 | 61 6c 69 7a 61 74 69 6f |on-initi|alizatio|
|000034f0| 6e 20 23 5b 6e 69 6c 20 | 22 c0 20 88 c1 5c 6e 21 |n #[nil |". ..\n!|
|00003500| 88 0b 14 0d ac e2 c6 1e | 07 c8 20 15 c9 0d 21 88 |........|.. ...!.|
|00003510| 0e 07 ca 57 ab 8e cb 0e | 07 cc 5c 22 88 0e 07 54 |...W....|..\"...T|
|00003520| 89 16 07 aa 6e cb c6 cd | 5c 22 88 cb ce cf 5c 22 |....n...|\"....\"|
|00003530| 88 cb d0 d1 5c 22 88 cb | d2 d1 5c 22 88 cb d3 d4 |....\"..|..\"....|
|00003540| 5c 22 88 cb d5 d6 5c 22 | 88 cb d7 d8 5c 22 88 cb |\"....\"|....\"..|
|00003550| d9 cc 5c 22 88 cb da cc | 5c 22 88 cb db cc 5c 22 |..\"....|\"....\"|
|00003560| 88 cb dc dd 5c 22 88 cb | de cf 5c 22 88 cb df cd |....\"..|..\"....|
|00003570| 5c 22 88 29 aa 84 c9 0d | 21 88 e0 e1 21 88 e2 16 |\".)....|!...!...|
|00003580| 21 e0 e3 21 88 0e 21 16 | 23 e0 e4 21 88 e5 16 24 |!..!..!.|#..!...$|
|00003590| e0 e6 21 88 e7 16 26 e0 | e8 21 88 e9 16 28 e0 ea |..!...&.|.!...(..|
|000035a0| 21 88 eb 16 2a e0 ec 21 | 88 e0 ed 21 88 e0 ee 21 |!...*..!|...!...!|
|000035b0| 88 e0 ef 21 87 22 20 5b | 6b 69 6c 6c 2d 61 6c 6c |...!." [|kill-all|
|000035c0| 2d 6c 6f 63 61 6c 2d 76 | 61 72 69 61 62 6c 65 73 |-local-v|ariables|
|000035d0| 20 75 73 65 2d 6c 6f 63 | 61 6c 2d 6d 61 70 20 74 | use-loc|al-map t|
|000035e0| 65 78 2d 6d 6f 64 65 2d | 6d 61 70 20 74 65 78 74 |ex-mode-|map text|
|000035f0| 2d 6d 6f 64 65 2d 61 62 | 62 72 65 76 2d 74 61 62 |-mode-ab|brev-tab|
|00003600| 6c 65 20 6c 6f 63 61 6c | 2d 61 62 62 72 65 76 2d |le local|-abbrev-|
|00003610| 74 61 62 6c 65 20 74 65 | 78 2d 6d 6f 64 65 2d 73 |table te|x-mode-s|
|00003620| 79 6e 74 61 78 2d 74 61 | 62 6c 65 20 30 20 63 68 |yntax-ta|ble 0 ch|
|00003630| 61 72 20 6d 61 6b 65 2d | 73 79 6e 74 61 78 2d 74 |ar make-|syntax-t|
|00003640| 61 62 6c 65 20 73 65 74 | 2d 73 79 6e 74 61 78 2d |able set|-syntax-|
|00003650| 74 61 62 6c 65 20 33 32 | 20 6d 6f 64 69 66 79 2d |table 32| modify-|
|00003660| 73 79 6e 74 61 78 2d 65 | 6e 74 72 79 20 22 2e 22 |syntax-e|ntry "."|
|00003670| 20 22 77 22 20 39 20 22 | 20 22 20 31 30 20 22 3e | "w" 9 "| " 10 ">|
|00003680| 22 20 31 32 20 33 36 20 | 22 24 24 22 20 33 37 20 |" 12 36 |"$$" 37 |
|00003690| 22 3c 22 20 39 32 20 22 | 2f 22 20 33 34 20 33 38 |"<" 92 "|/" 34 38|
|000036a0| 20 39 35 20 36 34 20 22 | 5f 22 20 31 32 36 20 33 | 95 64 "|_" 126 3|
|000036b0| 39 20 6d 61 6b 65 2d 6c | 6f 63 61 6c 2d 76 61 72 |9 make-l|ocal-var|
|000036c0| 69 61 62 6c 65 20 70 61 | 72 61 67 72 61 70 68 2d |iable pa|ragraph-|
|000036d0| 73 74 61 72 74 20 22 5e | 5b 20 09 5d 2a 24 5c 5c |start "^|[ .]*$\\|
|000036e0| 7c 5e 5b 0c 5c 5c 5c 5c | 25 5d 22 20 70 61 72 61 ||^[.\\\\|%]" para|
|000036f0| 67 72 61 70 68 2d 73 65 | 70 61 72 61 74 65 20 63 |graph-se|parate c|
|00003700| 6f 6d 6d 65 6e 74 2d 73 | 74 61 72 74 20 22 25 22 |omment-s|tart "%"|
|00003710| 20 63 6f 6d 6d 65 6e 74 | 2d 73 74 61 72 74 2d 73 | comment|-start-s|
|00003720| 6b 69 70 20 22 5c 5c 28 | 5c 5c 28 5e 5c 5c 7c 5b |kip "\\(|\\(^\\|[|
|00003730| 5e 5c 5c 5d 5c 5c 29 5c | 5c 28 5c 5c 5c 5c 5c 5c |^\\]\\)\|\(\\\\\\|
|00003740| 5c 5c 5c 5c 29 2a 5c 5c | 29 5c 5c 28 25 2b 20 2a |\\\\)*\\|)\\(%+ *|
|00003750| 5c 5c 29 22 20 63 6f 6d | 6d 65 6e 74 2d 69 6e 64 |\\)" com|ment-ind|
|00003760| 65 6e 74 2d 66 75 6e 63 | 74 69 6f 6e 20 74 65 78 |ent-func|tion tex|
|00003770| 2d 63 6f 6d 6d 65 6e 74 | 2d 69 6e 64 65 6e 74 20 |-comment|-indent |
|00003780| 63 6f 6d 70 61 72 65 2d | 77 69 6e 64 6f 77 73 2d |compare-|windows-|
|00003790| 77 68 69 74 65 73 70 61 | 63 65 20 74 65 78 2d 63 |whitespa|ce tex-c|
|000037a0| 61 74 65 67 6f 72 69 7a | 65 2d 77 68 69 74 65 73 |ategoriz|e-whites|
|000037b0| 70 61 63 65 20 74 65 78 | 2d 63 6f 6d 6d 61 6e 64 |pace tex|-command|
|000037c0| 20 74 65 78 2d 73 74 61 | 72 74 2d 6f 66 2d 68 65 | tex-sta|rt-of-he|
|000037d0| 61 64 65 72 20 74 65 78 | 2d 65 6e 64 2d 6f 66 2d |ader tex|-end-of-|
|000037e0| 68 65 61 64 65 72 20 74 | 65 78 2d 74 72 61 69 6c |header t|ex-trail|
|000037f0| 65 72 5d 20 34 5d 20 74 | 65 78 2d 63 6f 6d 6d 65 |er] 4] t|ex-comme|
|00003800| 6e 74 2d 69 6e 64 65 6e | 74 20 23 5b 6e 69 6c 20 |nt-inden|t #[nil |
|00003810| 22 c0 c1 21 ab 82 69 87 | c2 c3 78 88 6e ab 83 c4 |"..!..i.|..x.n...|
|00003820| aa 82 69 54 0d 5d 87 22 | 20 5b 6c 6f 6f 6b 69 6e |..iT.]."| [lookin|
|00003830| 67 2d 61 74 20 22 25 25 | 25 22 20 22 20 09 22 20 |g-at "%%|%" " ." |
|00003840| 6e 69 6c 20 30 20 63 6f | 6d 6d 65 6e 74 2d 63 6f |nil 0 co|mment-co|
|00003850| 6c 75 6d 6e 5d 20 32 5d | 20 74 65 78 2d 63 61 74 |lumn] 2]| tex-cat|
|00003860| 65 67 6f 72 69 7a 65 2d | 77 68 69 74 65 73 70 61 |egorize-|whitespa|
|00003870| 63 65 20 23 5b 28 62 61 | 63 6b 77 61 72 64 2d 6c |ce #[(ba|ckward-l|
|00003880| 69 6d 69 74 29 20 22 c0 | c1 1a 1b c4 0d 78 88 5c |imit) ".|.....x.\|
|00003890| 6e ab be c6 c7 21 ab 8e | c8 95 62 88 c9 0b c0 5c |n....!..|..b....\|
|000038a0| 22 ab 6e ca 13 aa 6a c6 | cb 21 ab 95 c9 0b cc 5c |".n...j.|.!.....\|
|000038b0| 22 ab 87 cd 13 ce 89 12 | aa 59 cc 13 c8 95 62 88 |".......|.Y....b.|
|000038c0| aa 50 c6 cf 21 ab 87 cd | 13 ce 89 12 aa 45 ce 89 |.P..!...|.....E..|
|000038d0| 12 ac 42 c4 ce 77 88 c9 | 0b cc 5c 22 ab 83 ca aa |..B..w..|..\"....|
|000038e0| 81 0b 2a 87 22 20 5b 6e | 75 6c 6c 20 74 20 6e 6f |..*." [n|ull t no|
|000038f0| 74 2d 66 69 6e 69 73 68 | 65 64 20 63 61 74 65 67 |t-finish|ed categ|
|00003900| 6f 72 79 20 22 20 09 5c | 6e 0c 22 20 62 61 63 6b |ory " .\|n." back|
|00003910| 77 61 72 64 2d 6c 69 6d | 69 74 20 6c 6f 6f 6b 69 |ward-lim|it looki|
|00003920| 6e 67 2d 61 74 20 22 5b | 20 09 5d 2b 22 20 30 20 |ng-at "[| .]+" 0 |
|00003930| 65 71 6c 20 73 70 61 63 | 65 20 22 5c 6e 22 20 6e |eql spac|e "\n" n|
|00003940| 65 77 6c 69 6e 65 20 70 | 61 72 20 6e 69 6c 20 22 |ewline p|ar nil "|
|00003950| 0c 2b 22 5d 20 34 5d 5d | 20 32 29 0a 28 66 73 65 |.+"] 4]]| 2).(fse|
|00003960| 74 20 27 74 65 78 2d 69 | 6e 73 65 72 74 2d 71 75 |t 'tex-i|nsert-qu|
|00003970| 6f 74 65 20 23 5b 28 61 | 72 67 29 20 22 08 ab 86 |ote #[(a|rg) "...|
|00003980| c1 c2 08 21 21 87 6f ac | 8a 8a c3 75 88 c4 c5 21 |...!!.o.|...u...!|
|00003990| 29 ab 84 0e 06 aa 8a 68 | c7 55 ab 83 c8 aa 82 0e |)......h|.U......|
|000039a0| 09 63 87 22 20 5b 61 72 | 67 20 73 65 6c 66 2d 69 |.c." [ar|g self-i|
|000039b0| 6e 73 65 72 74 2d 63 6f | 6d 6d 61 6e 64 20 70 72 |nsert-co|mmand pr|
|000039c0| 65 66 69 78 2d 6e 75 6d | 65 72 69 63 2d 76 61 6c |efix-num|eric-val|
|000039d0| 75 65 20 2d 31 20 6c 6f | 6f 6b 69 6e 67 2d 61 74 |ue -1 lo|oking-at|
|000039e0| 20 22 5c 5c 73 28 5c 5c | 7c 5c 5c 73 20 5c 5c 7c | "\\s(\\||\\s \\||
|000039f0| 5c 5c 73 3e 22 20 74 65 | 78 2d 6f 70 65 6e 2d 71 |\\s>" te|x-open-q|
|00003a00| 75 6f 74 65 20 39 32 20 | 33 34 20 74 65 78 2d 63 |uote 92 |34 tex-c|
|00003a10| 6c 6f 73 65 2d 71 75 6f | 74 65 5d 20 33 20 22 5c |lose-quo|te] 3 "\|
|00003a20| 0a 49 6e 73 65 72 74 20 | 74 68 65 20 61 70 70 72 |.Insert |the appr|
|00003a30| 6f 70 72 69 61 74 65 20 | 71 75 6f 74 65 20 6d 61 |opriate |quote ma|
|00003a40| 72 6b 73 20 66 6f 72 20 | 54 65 58 2e 0a 49 6e 73 |rks for |TeX..Ins|
|00003a50| 65 72 74 73 20 74 68 65 | 20 76 61 6c 75 65 20 6f |erts the| value o|
|00003a60| 66 20 74 65 78 2d 6f 70 | 65 6e 2d 71 75 6f 74 65 |f tex-op|en-quote|
|00003a70| 20 28 6e 6f 72 6d 61 6c | 6c 79 20 60 60 29 20 6f | (normal|ly ``) o|
|00003a80| 72 20 74 65 78 2d 63 6c | 6f 73 65 2d 71 75 6f 74 |r tex-cl|ose-quot|
|00003a90| 65 0a 28 6e 6f 72 6d 61 | 6c 6c 79 20 27 27 29 20 |e.(norma|lly '') |
|00003aa0| 64 65 70 65 6e 64 69 6e | 67 20 6f 6e 20 74 68 65 |dependin|g on the|
|00003ab0| 20 63 6f 6e 74 65 78 74 | 2e 20 20 57 69 74 68 20 | context|. With |
|00003ac0| 70 72 65 66 69 78 20 61 | 72 67 75 6d 65 6e 74 2c |prefix a|rgument,|
|00003ad0| 20 61 6c 77 61 79 73 0a | 69 6e 73 65 72 74 73 20 | always.|inserts |
|00003ae0| 5c 22 20 63 68 61 72 61 | 63 74 65 72 73 2e 22 20 |\" chara|cters." |
|00003af0| 22 2a 50 22 5d 29 0a 28 | 66 73 65 74 20 27 76 61 |"*P"]).(|fset 'va|
|00003b00| 6c 69 64 61 74 65 2d 74 | 65 78 2d 62 75 66 66 65 |lidate-t|ex-buffe|
|00003b10| 72 20 23 5b 6e 69 6c 20 | 22 60 18 64 62 88 c1 8e |r #[nil |"`.db...|
|00003b20| c2 20 3f ad a1 6f 3f ad | 9d 60 1b c4 c5 c6 c7 23 |. ?..o?.|.`.....#|
|00003b30| 88 c8 60 0b 5c 22 ac 8c | c9 60 21 88 ca cb 21 88 |..`.\"..|.`!...!.|
|00003b40| cc cd 21 88 29 aa 5a 2a | 87 22 20 5b 6f 70 6f 69 |..!.).Z*|." [opoi|
|00003b50| 6e 74 20 28 28 67 6f 74 | 6f 2d 63 68 61 72 20 6f |nt ((got|o-char o|
|00003b60| 70 6f 69 6e 74 29 29 20 | 69 6e 70 75 74 2d 70 65 |point)) |input-pe|
|00003b70| 6e 64 69 6e 67 2d 70 20 | 65 6e 64 20 73 65 61 72 |nding-p |end sear|
|00003b80| 63 68 2d 62 61 63 6b 77 | 61 72 64 20 22 5c 6e 5c |ch-backw|ard "\n\|
|00003b90| 6e 22 20 6e 69 6c 20 6d | 6f 76 65 20 74 65 78 2d |n" nil m|ove tex-|
|00003ba0| 76 61 6c 69 64 61 74 65 | 2d 72 65 67 69 6f 6e 20 |validate|-region |
|00003bb0| 70 75 73 68 2d 6d 61 72 | 6b 20 6d 65 73 73 61 67 |push-mar|k messag|
|00003bc0| 65 20 22 4d 69 73 6d 61 | 74 63 68 20 66 6f 75 6e |e "Misma|tch foun|
|00003bd0| 64 20 69 6e 20 70 61 72 | 61 72 61 70 68 20 73 74 |d in par|araph st|
|00003be0| 61 72 74 69 6e 67 20 68 | 65 72 65 22 20 73 69 74 |arting h|ere" sit|
|00003bf0| 2d 66 6f 72 20 34 5d 20 | 34 20 22 5c 0a 43 68 65 |-for 4] |4 "\.Che|
|00003c00| 63 6b 20 63 75 72 72 65 | 6e 74 20 62 75 66 66 65 |ck curre|nt buffe|
|00003c10| 72 20 66 6f 72 20 70 61 | 72 61 67 72 61 70 68 73 |r for pa|ragraphs|
|00003c20| 20 63 6f 6e 74 61 69 6e | 69 6e 67 20 6d 69 73 6d | contain|ing mism|
|00003c30| 61 74 63 68 65 64 20 24 | 27 73 2e 0a 41 73 20 65 |atched $|'s..As e|
|00003c40| 61 63 68 20 73 75 63 68 | 20 70 61 72 61 67 72 61 |ach such| paragra|
|00003c50| 70 68 20 69 73 20 66 6f | 75 6e 64 2c 20 61 20 6d |ph is fo|und, a m|
|00003c60| 61 72 6b 20 69 73 20 70 | 75 73 68 65 64 20 61 74 |ark is p|ushed at|
|00003c70| 20 69 74 73 20 62 65 67 | 69 6e 6e 69 6e 67 2c 0a | its beg|inning,.|
|00003c80| 61 6e 64 20 74 68 65 20 | 6c 6f 63 61 74 69 6f 6e |and the |location|
|00003c90| 20 69 73 20 64 69 73 70 | 6c 61 79 65 64 20 66 6f | is disp|layed fo|
|00003ca0| 72 20 61 20 66 65 77 20 | 73 65 63 6f 6e 64 73 2e |r a few |seconds.|
|00003cb0| 22 20 6e 69 6c 5d 29 0a | 28 66 73 65 74 20 27 74 |" nil]).|(fset 't|
|00003cc0| 65 78 2d 76 61 6c 69 64 | 61 74 65 2d 72 65 67 69 |ex-valid|ate-regi|
|00003cd0| 6f 6e 20 23 5b 28 73 74 | 61 72 74 20 65 6e 64 29 |on #[(st|art end)|
|00003ce0| 20 22 c0 09 5c 6e 5a 1b | 1c 8a c0 c5 c6 8f 88 29 | "..\nZ.|.......)|
|00003cf0| 0c ab 86 0c 62 88 c0 aa | 81 c7 2a 87 22 20 5b 6e |....b...|..*." [n|
|00003d00| 69 6c 20 65 6e 64 20 73 | 74 61 72 74 20 6d 61 78 |il end s|tart max|
|00003d10| 2d 70 6f 73 73 69 62 6c | 65 2d 73 65 78 70 73 20 |-possibl|e-sexps |
|00003d20| 66 61 69 6c 75 72 65 2d | 70 6f 69 6e 74 20 28 62 |failure-|point (b|
|00003d30| 79 74 65 2d 63 6f 64 65 | 20 22 8c 08 09 7d 88 08 |yte-code| "...}..|
|00003d40| 62 88 c2 0b 53 89 13 57 | ab 86 c4 c5 21 88 aa 72 |b...S..W|....!..r|
|00003d50| 29 c2 87 22 20 5b 73 74 | 61 72 74 20 65 6e 64 20 |).." [st|art end |
|00003d60| 30 20 6d 61 78 2d 70 6f | 73 73 69 62 6c 65 2d 73 |0 max-po|ssible-s|
|00003d70| 65 78 70 73 20 66 6f 72 | 77 61 72 64 2d 73 65 78 |exps for|ward-sex|
|00003d80| 70 20 31 5d 20 33 29 20 | 28 28 65 72 72 6f 72 20 |p 1] 3) |((error |
|00003d90| 28 62 79 74 65 2d 63 6f | 64 65 20 22 60 10 c1 87 |(byte-co|de "`...|
|00003da0| 22 20 5b 66 61 69 6c 75 | 72 65 2d 70 6f 69 6e 74 |" [failu|re-point|
|00003db0| 20 6e 69 6c 5d 20 31 29 | 29 29 20 74 5d 20 33 20 | nil] 1)|)) t] 3 |
|00003dc0| 22 5c 0a 43 68 65 63 6b | 20 66 6f 72 20 6d 69 73 |"\.Check| for mis|
|00003dd0| 6d 61 74 63 68 65 64 20 | 62 72 61 63 65 73 20 6f |matched |braces o|
|00003de0| 72 20 24 27 73 20 69 6e | 20 72 65 67 69 6f 6e 2e |r $'s in| region.|
|00003df0| 0a 52 65 74 75 72 6e 73 | 20 74 20 69 66 20 6e 6f |.Returns| t if no|
|00003e00| 20 6d 69 73 6d 61 74 63 | 68 65 73 2e 20 20 52 65 | mismatc|hes. Re|
|00003e10| 74 75 72 6e 73 20 6e 69 | 6c 20 61 6e 64 20 6d 6f |turns ni|l and mo|
|00003e20| 76 65 73 20 70 6f 69 6e | 74 20 74 6f 20 73 75 73 |ves poin|t to sus|
|00003e30| 70 65 63 74 0a 61 72 65 | 61 20 69 66 20 61 20 6d |pect.are|a if a m|
|00003e40| 69 73 6d 61 74 63 68 20 | 69 73 20 66 6f 75 6e 64 |ismatch |is found|
|00003e50| 2e 22 20 22 72 22 5d 29 | 0a 28 66 73 65 74 20 27 |." "r"])|.(fset '|
|00003e60| 74 65 78 2d 74 65 72 6d | 69 6e 61 74 65 2d 70 61 |tex-term|inate-pa|
|00003e70| 72 61 67 72 61 70 68 20 | 23 5b 28 69 6e 68 69 62 |ragraph |#[(inhib|
|00003e80| 69 74 2d 76 61 6c 69 64 | 61 74 69 6f 6e 29 20 22 |it-valid|ation) "|
|00003e90| 08 ac 94 8a c1 8a c2 c3 | c4 c5 23 88 60 29 60 5c |........|..#.`)`\|
|00003ea0| 22 29 ac 84 c6 c7 21 88 | c3 63 87 22 20 5b 69 6e |")....!.|.c." [in|
|00003eb0| 68 69 62 69 74 2d 76 61 | 6c 69 64 61 74 69 6f 6e |hibit-va|lidation|
|00003ec0| 20 74 65 78 2d 76 61 6c | 69 64 61 74 65 2d 72 65 | tex-val|idate-re|
|00003ed0| 67 69 6f 6e 20 73 65 61 | 72 63 68 2d 62 61 63 6b |gion sea|rch-back|
|00003ee0| 77 61 72 64 20 22 5c 6e | 5c 6e 22 20 6e 69 6c 20 |ward "\n|\n" nil |
|00003ef0| 6d 6f 76 65 20 6d 65 73 | 73 61 67 65 20 22 50 61 |move mes|sage "Pa|
|00003f00| 72 61 67 72 61 70 68 20 | 62 65 69 6e 67 20 63 6c |ragraph |being cl|
|00003f10| 6f 73 65 64 20 61 70 70 | 65 61 72 73 20 74 6f 20 |osed app|ears to |
|00003f20| 63 6f 6e 74 61 69 6e 20 | 61 20 6d 69 73 6d 61 74 |contain |a mismat|
|00003f30| 63 68 22 5d 20 35 20 22 | 5c 0a 49 6e 73 65 72 74 |ch"] 5 "|\.Insert|
|00003f40| 20 74 77 6f 20 6e 65 77 | 6c 69 6e 65 73 2c 20 62 | two new|lines, b|
|00003f50| 72 65 61 6b 69 6e 67 20 | 61 20 70 61 72 61 67 72 |reaking |a paragr|
|00003f60| 61 70 68 20 66 6f 72 20 | 54 65 58 2e 0a 43 68 65 |aph for |TeX..Che|
|00003f70| 63 6b 20 66 6f 72 20 6d | 69 73 6d 61 74 63 68 65 |ck for m|ismatche|
|00003f80| 64 20 62 72 61 63 65 73 | 2f 24 27 73 20 69 6e 20 |d braces|/$'s in |
|00003f90| 70 61 72 61 67 72 61 70 | 68 20 62 65 69 6e 67 20 |paragrap|h being |
|00003fa0| 74 65 72 6d 69 6e 61 74 | 65 64 2e 0a 41 20 70 72 |terminat|ed..A pr|
|00003fb0| 65 66 69 78 20 61 72 67 | 20 69 6e 68 69 62 69 74 |efix arg| inhibit|
|00003fc0| 73 20 74 68 65 20 63 68 | 65 63 6b 69 6e 67 2e 22 |s the ch|ecking."|
|00003fd0| 20 22 2a 50 22 5d 29 0a | 28 66 73 65 74 20 27 74 | "*P"]).|(fset 't|
|00003fe0| 65 78 2d 69 6e 73 65 72 | 74 2d 62 72 61 63 65 73 |ex-inser|t-braces|
|00003ff0| 20 23 5b 6e 69 6c 20 22 | c0 63 88 8a c1 63 29 87 | #[nil "|.c...c).|
|00004000| 22 20 5b 31 32 33 20 31 | 32 35 5d 20 31 20 22 5c |" [123 1|25] 1 "\|
|00004010| 0a 4d 61 6b 65 20 61 20 | 70 61 69 72 20 6f 66 20 |.Make a |pair of |
|00004020| 62 72 61 63 65 73 20 61 | 6e 64 20 62 65 20 70 6f |braces a|nd be po|
|00004030| 69 73 65 64 20 74 6f 20 | 74 79 70 65 20 69 6e 73 |ised to |type ins|
|00004040| 69 64 65 20 6f 66 20 74 | 68 65 6d 2e 22 20 22 2a |ide of t|hem." "*|
|00004050| 22 5d 29 0a 28 66 73 65 | 74 20 27 74 65 78 2d 6c |"]).(fse|t 'tex-l|
|00004060| 61 74 65 78 2d 62 6c 6f | 63 6b 20 23 5b 28 6e 61 |atex-blo|ck #[(na|
|00004070| 6d 65 29 20 22 69 18 c1 | c2 0b 5c 22 63 88 08 6a |me) "i..|..\"c..j|
|00004080| 88 8a c4 63 88 08 6a 88 | c1 c5 0b 5c 22 63 88 6d |...c..j.|...\"c.m|
|00004090| ad 82 c4 63 2a 87 22 20 | 5b 63 6f 6c 20 66 6f 72 |...c*." |[col for|
|000040a0| 6d 61 74 20 22 5c 5c 62 | 65 67 69 6e 7b 25 73 7d |mat "\\b|egin{%s}|
|000040b0| 5c 6e 22 20 6e 61 6d 65 | 20 31 30 20 22 5c 5c 65 |\n" name| 10 "\\e|
|000040c0| 6e 64 7b 25 73 7d 22 5d | 20 33 20 22 5c 0a 43 72 |nd{%s}"]| 3 "\.Cr|
|000040d0| 65 61 74 65 73 20 61 20 | 6d 61 74 63 68 69 6e 67 |eates a |matching|
|000040e0| 20 70 61 69 72 20 6f 66 | 20 6c 69 6e 65 73 20 5c | pair of| lines \|
|000040f0| 5c 62 65 67 69 6e 7b 4e | 41 4d 45 7d 20 61 6e 64 |\begin{N|AME} and|
|00004100| 20 5c 5c 65 6e 64 7b 4e | 41 4d 45 7d 20 61 74 20 | \\end{N|AME} at |
|00004110| 70 6f 69 6e 74 2e 0a 50 | 75 74 73 20 70 6f 69 6e |point..P|uts poin|
|00004120| 74 20 6f 6e 20 61 20 62 | 6c 61 6e 6b 20 6c 69 6e |t on a b|lank lin|
|00004130| 65 20 62 65 74 77 65 65 | 6e 20 74 68 65 6d 2e 22 |e betwee|n them."|
|00004140| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 20 88 | (byte-c|ode ". .|
|00004150| c1 c2 c3 c4 c5 0e 06 0e | 07 5c 22 5c 22 5c 22 43 |........|.\"\"\"C|
|00004160| 87 22 20 5b 62 61 72 66 | 2d 69 66 2d 62 75 66 66 |." [barf|-if-buff|
|00004170| 65 72 2d 72 65 61 64 2d | 6f 6e 6c 79 20 63 6f 6d |er-read-|only com|
|00004180| 70 6c 65 74 69 6e 67 2d | 72 65 61 64 20 22 4c 61 |pleting-|read "La|
|00004190| 54 65 58 20 62 6c 6f 63 | 6b 20 6e 61 6d 65 3a 20 |TeX bloc|k name: |
|000041a0| 22 20 6d 61 70 63 61 72 | 20 6c 69 73 74 20 61 70 |" mapcar| list ap|
|000041b0| 70 65 6e 64 20 73 74 61 | 6e 64 61 72 64 2d 6c 61 |pend sta|ndard-la|
|000041c0| 74 65 78 2d 62 6c 6f 63 | 6b 2d 6e 61 6d 65 73 20 |tex-bloc|k-names |
|000041d0| 6c 61 74 65 78 2d 62 6c | 6f 63 6b 2d 6e 61 6d 65 |latex-bl|ock-name|
|000041e0| 73 5d 20 37 29 5d 29 0a | 28 66 73 65 74 20 27 74 |s] 7)]).|(fset 't|
|000041f0| 65 78 2d 6c 61 73 74 2d | 75 6e 65 6e 64 65 64 2d |ex-last-|unended-|
|00004200| 62 65 67 69 6e 20 23 5b | 6e 69 6c 20 22 c0 c1 21 |begin #[|nil "..!|
|00004210| ad 8a c2 c3 21 ad 85 c4 | 20 88 aa 71 87 22 20 5b |....!...| ..q." [|
|00004220| 72 65 2d 73 65 61 72 63 | 68 2d 62 61 63 6b 77 61 |re-searc|h-backwa|
|00004230| 72 64 20 22 5c 5c 28 5c | 5c 5c 5c 62 65 67 69 6e |rd "\\(\|\\\begin|
|00004240| 5c 5c 73 20 2a 7b 5c 5c | 29 5c 5c 7c 5c 5c 28 5c |\\s *{\\|)\\|\\(\|
|00004250| 5c 5c 5c 65 6e 64 5c 5c | 73 20 2a 7b 5c 5c 29 22 |\\\end\\|s *{\\)"|
|00004260| 20 6c 6f 6f 6b 69 6e 67 | 2d 61 74 20 22 5c 5c 5c | looking|-at "\\\|
|00004270| 5c 65 6e 64 7b 22 20 74 | 65 78 2d 6c 61 73 74 2d |\end{" t|ex-last-|
|00004280| 75 6e 65 6e 64 65 64 2d | 62 65 67 69 6e 5d 20 32 |unended-|begin] 2|
|00004290| 20 22 5c 0a 4c 65 61 76 | 65 20 70 6f 69 6e 74 20 | "\.Leav|e point |
|000042a0| 61 74 20 74 68 65 20 62 | 65 67 69 6e 6e 69 6e 67 |at the b|eginning|
|000042b0| 20 6f 66 20 74 68 65 20 | 6c 61 73 74 20 5c 5c 62 | of the |last \\b|
|000042c0| 65 67 69 6e 7b 2e 2e 2e | 7d 20 74 68 61 74 20 69 |egin{...|} that i|
|000042d0| 73 20 75 6e 65 6e 64 65 | 64 2e 22 5d 29 0a 28 66 |s unende|d."]).(f|
|000042e0| 73 65 74 20 27 74 65 78 | 2d 63 6c 6f 73 65 2d 6c |set 'tex|-close-l|
|000042f0| 61 74 65 78 2d 62 6c 6f | 63 6b 20 23 5b 6e 69 6c |atex-blo|ck #[nil|
|00004300| 20 22 6e c0 89 19 1a 1b | 8a c0 c4 c5 8f 88 69 11 | "n.....|......i.|
|00004310| c6 c7 21 88 c8 94 c8 95 | 7b 12 29 09 6a 88 c9 5c |..!.....|{.).j..\|
|00004320| 6e b1 02 88 0b ad 82 ca | 63 2b 87 22 20 5b 6e 69 |n.......|c+." [ni|
|00004330| 6c 20 69 6e 64 65 6e 74 | 61 74 69 6f 6e 20 74 65 |l indent|ation te|
|00004340| 78 74 20 6e 65 77 2d 6c | 69 6e 65 2d 6e 65 65 64 |xt new-l|ine-need|
|00004350| 65 64 20 28 74 65 78 2d | 6c 61 73 74 2d 75 6e 65 |ed (tex-|last-une|
|00004360| 6e 64 65 64 2d 62 65 67 | 69 6e 29 20 28 28 65 72 |nded-beg|in) ((er|
|00004370| 72 6f 72 20 28 65 72 72 | 6f 72 20 22 43 6f 75 6c |ror (err|or "Coul|
|00004380| 64 6e 27 74 20 66 69 6e | 64 20 75 6e 65 6e 64 65 |dn't fin|d unende|
|00004390| 64 20 5c 5c 62 65 67 69 | 6e 22 29 29 29 20 72 65 |d \\begi|n"))) re|
|000043a0| 2d 73 65 61 72 63 68 2d | 66 6f 72 77 61 72 64 20 |-search-|forward |
|000043b0| 22 5c 5c 5c 5c 62 65 67 | 69 6e 5c 5c 28 5c 5c 73 |"\\\\beg|in\\(\\s|
|000043c0| 20 2a 7b 5b 5e 7d 5c 6e | 5d 2a 7d 5c 5c 29 22 20 | *{[^}\n|]*}\\)" |
|000043d0| 31 20 22 5c 5c 65 6e 64 | 22 20 31 30 5d 20 33 20 |1 "\\end|" 10] 3 |
|000043e0| 22 5c 0a 43 72 65 61 74 | 65 73 20 61 6e 20 5c 5c |"\.Creat|es an \\|
|000043f0| 65 6e 64 7b 2e 2e 2e 7d | 20 74 6f 20 6d 61 74 63 |end{...}| to matc|
|00004400| 68 20 74 68 65 20 6c 61 | 73 74 20 75 6e 63 6c 6f |h the la|st unclo|
|00004410| 73 65 64 20 5c 5c 62 65 | 67 69 6e 7b 2e 2e 2e 7d |sed \\be|gin{...}|
|00004420| 2e 22 20 22 2a 22 5d 29 | 0a 28 62 79 74 65 2d 63 |." "*"])|.(byte-c|
|00004430| 6f 64 65 20 22 c0 c1 4d | 88 c2 c3 4d 87 22 20 5b |ode "..M|...M." [|
|00004440| 74 65 78 2d 73 74 61 72 | 74 2d 73 68 65 6c 6c 20 |tex-star|t-shell |
|00004450| 23 5b 6e 69 6c 20 22 8a | c0 c1 5c 6e ae 8b c3 c4 |#[nil ".|..\n....|
|00004460| 21 ae 86 c3 c5 21 ae 81 | c6 c7 c8 24 71 88 c9 c1 |!....!..|...$q...|
|00004470| 21 1e 5c 6e cb 0e 5c 6e | cc 5c 22 88 cd 0e 5c 6e |!.\n..\n|.\"...\n|
|00004480| 21 88 ce 0e 0f 21 16 10 | d1 0e 10 21 88 d2 0e 10 |!....!..|...!....|
|00004490| 21 88 d3 d4 21 88 d5 20 | d6 55 ad 86 d7 d8 21 88 |!...!.. |.U....!.|
|000044a0| aa 74 2a 87 22 20 5b 6d | 61 6b 65 2d 63 6f 6d 69 |.t*." [m|ake-comi|
|000044b0| 6e 74 20 22 74 65 78 2d | 73 68 65 6c 6c 22 20 74 |nt "tex-|shell" t|
|000044c0| 65 78 2d 73 68 65 6c 6c | 2d 66 69 6c 65 2d 6e 61 |ex-shell|-file-na|
|000044d0| 6d 65 20 67 65 74 65 6e | 76 20 22 45 53 48 45 4c |me geten|v "ESHEL|
|000044e0| 4c 22 20 22 53 48 45 4c | 4c 22 20 22 2f 62 69 6e |L" "SHEL|L" "/bin|
|000044f0| 2f 73 68 22 20 6e 69 6c | 20 22 2d 76 22 20 67 65 |/sh" nil| "-v" ge|
|00004500| 74 2d 70 72 6f 63 65 73 | 73 20 70 72 6f 63 20 73 |t-proces|s proc s|
|00004510| 65 74 2d 70 72 6f 63 65 | 73 73 2d 73 65 6e 74 69 |et-proce|ss-senti|
|00004520| 6e 65 6c 20 74 65 78 2d | 73 68 65 6c 6c 2d 73 65 |nel tex-|shell-se|
|00004530| 6e 74 69 6e 65 6c 20 70 | 72 6f 63 65 73 73 2d 6b |ntinel p|rocess-k|
|00004540| 69 6c 6c 2d 77 69 74 68 | 6f 75 74 2d 71 75 65 72 |ill-with|out-quer|
|00004550| 79 20 63 6f 70 79 2d 6b | 65 79 6d 61 70 20 63 6f |y copy-k|eymap co|
|00004560| 6d 69 6e 74 2d 6d 6f 64 | 65 2d 6d 61 70 20 74 65 |mint-mod|e-map te|
|00004570| 78 2d 73 68 65 6c 6c 2d | 6d 61 70 20 74 65 78 2d |x-shell-|map tex-|
|00004580| 64 65 66 69 6e 65 2d 63 | 6f 6d 6d 6f 6e 2d 6b 65 |define-c|ommon-ke|
|00004590| 79 73 20 75 73 65 2d 6c | 6f 63 61 6c 2d 6d 61 70 |ys use-l|ocal-map|
|000045a0| 20 72 75 6e 2d 68 6f 6f | 6b 73 20 74 65 78 2d 73 | run-hoo|ks tex-s|
|000045b0| 68 65 6c 6c 2d 68 6f 6f | 6b 20 62 75 66 66 65 72 |hell-hoo|k buffer|
|000045c0| 2d 73 69 7a 65 20 30 20 | 73 6c 65 65 70 2d 66 6f |-size 0 |sleep-fo|
|000045d0| 72 20 31 5d 20 35 5d 20 | 74 65 78 2d 73 68 65 6c |r 1] 5] |tex-shel|
|000045e0| 6c 2d 73 65 6e 74 69 6e | 65 6c 20 23 5b 28 70 72 |l-sentin|el #[(pr|
|000045f0| 6f 63 20 6d 73 67 29 20 | 22 c0 c1 5c 6e 21 21 ac |oc msg) |"..\n!!.|
|00004600| 88 c3 5c 6e c4 5c 22 88 | c5 20 87 c6 5c 6e 21 c7 |..\n.\".|. ..\n!.|
|00004610| 3e ad 82 c5 20 87 22 20 | 5b 62 75 66 66 65 72 2d |>... ." |[buffer-|
|00004620| 6e 61 6d 65 20 70 72 6f | 63 65 73 73 2d 62 75 66 |name pro|cess-buf|
|00004630| 66 65 72 20 70 72 6f 63 | 20 73 65 74 2d 70 72 6f |fer proc| set-pro|
|00004640| 63 65 73 73 2d 62 75 66 | 66 65 72 20 6e 69 6c 20 |cess-buf|fer nil |
|00004650| 74 65 78 2d 64 65 6c 65 | 74 65 2d 6c 61 73 74 2d |tex-dele|te-last-|
|00004660| 74 65 6d 70 2d 66 69 6c | 65 73 20 70 72 6f 63 65 |temp-fil|es proce|
|00004670| 73 73 2d 73 74 61 74 75 | 73 20 28 73 69 67 6e 61 |ss-statu|s (signa|
|00004680| 6c 20 65 78 69 74 29 5d | 20 33 5d 5d 20 32 29 0a |l exit)]| 3]] 2).|
|00004690| 28 66 73 65 74 20 27 74 | 65 78 2d 73 65 74 2d 62 |(fset 't|ex-set-b|
|000046a0| 75 66 66 65 72 2d 64 69 | 72 65 63 74 6f 72 79 20 |uffer-di|rectory |
|000046b0| 23 5b 28 62 75 66 66 65 | 72 20 64 69 72 65 63 74 |#[(buffe|r direct|
|000046c0| 6f 72 79 29 20 22 c0 c1 | 5c 6e 21 21 12 c3 5c 6e |ory) "..|\n!!..\n|
|000046d0| 21 ac 85 c4 c5 5c 6e 5c | 22 87 8a 0e 06 71 88 5c |!....\n\|"....q.\|
|000046e0| 6e 89 16 07 29 87 22 20 | 5b 66 69 6c 65 2d 6e 61 |n...)." |[file-na|
|000046f0| 6d 65 2d 61 73 2d 64 69 | 72 65 63 74 6f 72 79 20 |me-as-di|rectory |
|00004700| 65 78 70 61 6e 64 2d 66 | 69 6c 65 2d 6e 61 6d 65 |expand-f|ile-name|
|00004710| 20 64 69 72 65 63 74 6f | 72 79 20 66 69 6c 65 2d | directo|ry file-|
|00004720| 64 69 72 65 63 74 6f 72 | 79 2d 70 20 65 72 72 6f |director|y-p erro|
|00004730| 72 20 22 25 73 20 69 73 | 20 6e 6f 74 20 61 20 64 |r "%s is| not a d|
|00004740| 69 72 65 63 74 6f 72 79 | 22 20 62 75 66 66 65 72 |irectory|" buffer|
|00004750| 20 64 65 66 61 75 6c 74 | 2d 64 69 72 65 63 74 6f | default|-directo|
|00004760| 72 79 5d 20 33 20 22 5c | 0a 53 65 74 20 42 55 46 |ry] 3 "\|.Set BUF|
|00004770| 46 45 52 27 73 20 64 65 | 66 61 75 6c 74 20 64 69 |FER's de|fault di|
|00004780| 72 65 63 74 6f 72 79 20 | 74 6f 20 62 65 20 44 49 |rectory |to be DI|
|00004790| 52 45 43 54 4f 52 59 2e | 22 5d 29 0a 28 66 73 65 |RECTORY.|"]).(fse|
|000047a0| 74 20 27 74 65 78 2d 73 | 65 6e 64 2d 63 6f 6d 6d |t 'tex-s|end-comm|
|000047b0| 61 6e 64 20 23 5b 28 63 | 6f 6d 6d 61 6e 64 20 26 |and #[(c|ommand &|
|000047c0| 6f 70 74 69 6f 6e 61 6c | 20 66 69 6c 65 20 62 61 |optional| file ba|
|000047d0| 63 6b 67 72 6f 75 6e 64 | 29 20 22 8a c0 09 21 1a |ckground|) "...!.|
|000047e0| c3 c4 5c 6e 5c 22 1d c6 | c7 c8 21 5c 6e c9 0d 4f |..\n\"..|..!\n..O|
|000047f0| 0e 5c 6e ab 86 cb 0e 5c | 6e 50 aa 81 cc 0d ab 87 |.\n....\|nP......|
|00004800| 5c 6e 0d 54 cd 4f aa 81 | cc 0e 0e ab 83 cf aa 81 |\n.T.O..|........|
|00004810| d0 52 5c 22 2b 87 22 20 | 5b 65 76 61 6c 20 63 6f |.R\"+." |[eval co|
|00004820| 6d 6d 61 6e 64 20 63 6d | 64 20 73 74 72 69 6e 67 |mmand cm|d string|
|00004830| 2d 6d 61 74 63 68 20 22 | 5c 5c 2a 22 20 73 74 61 |-match "|\\*" sta|
|00004840| 72 20 63 6f 6d 69 6e 74 | 2d 70 72 6f 63 2d 71 75 |r comint|-proc-qu|
|00004850| 65 72 79 20 67 65 74 2d | 70 72 6f 63 65 73 73 20 |ery get-|process |
|00004860| 22 74 65 78 2d 73 68 65 | 6c 6c 22 20 30 20 66 69 |"tex-she|ll" 0 fi|
|00004870| 6c 65 20 22 20 22 20 22 | 22 20 6e 69 6c 20 62 61 |le " " "|" nil ba|
|00004880| 63 6b 67 72 6f 75 6e 64 | 20 22 26 5c 6e 22 20 22 |ckground| "&\n" "|
|00004890| 5c 6e 22 5d 20 37 20 22 | 5c 0a 53 65 6e 64 20 43 |\n"] 7 "|\.Send C|
|000048a0| 4f 4d 4d 41 4e 44 20 74 | 6f 20 74 65 78 2d 73 68 |OMMAND t|o tex-sh|
|000048b0| 65 6c 6c 2c 20 73 75 62 | 73 74 69 74 75 74 69 6e |ell, sub|stitutin|
|000048c0| 67 20 6f 70 74 69 6f 6e | 61 6c 20 46 49 4c 45 20 |g option|al FILE |
|000048d0| 66 6f 72 20 2a 3b 20 69 | 6e 20 62 61 63 6b 67 72 |for *; i|n backgr|
|000048e0| 6f 75 6e 64 0a 69 66 20 | 6f 70 74 69 6f 6e 61 6c |ound.if |optional|
|000048f0| 20 42 41 43 4b 47 52 4f | 55 4e 44 20 69 73 20 74 | BACKGRO|UND is t|
|00004900| 2e 20 20 20 49 66 20 43 | 4f 4d 4d 41 4e 44 20 68 |. If C|OMMAND h|
|00004910| 61 73 20 6e 6f 20 2a 2c | 20 46 49 4c 45 20 77 69 |as no *,| FILE wi|
|00004920| 6c 6c 20 62 65 20 61 70 | 70 65 6e 64 65 64 2c 0a |ll be ap|pended,.|
|00004930| 70 72 65 63 65 64 65 64 | 20 62 79 20 61 20 62 6c |preceded| by a bl|
|00004940| 61 6e 6b 2c 20 74 6f 20 | 43 4f 4d 4d 41 4e 44 2e |ank, to |COMMAND.|
|00004950| 20 20 49 66 20 46 49 4c | 45 20 69 73 20 6e 69 6c | If FIL|E is nil|
|00004960| 2c 20 6e 6f 20 73 75 62 | 73 74 69 74 75 74 69 6f |, no sub|stitutio|
|00004970| 6e 20 77 69 6c 6c 20 62 | 65 20 6d 61 64 65 0a 69 |n will b|e made.i|
|00004980| 6e 20 43 4f 4d 4d 41 4e | 44 2e 20 20 43 4f 4d 4d |n COMMAN|D. COMM|
|00004990| 41 4e 44 20 63 61 6e 20 | 62 65 20 61 6e 79 20 65 |AND can |be any e|
|000049a0| 78 70 72 65 73 73 69 6f | 6e 20 74 68 61 74 20 65 |xpressio|n that e|
|000049b0| 76 61 6c 75 61 74 65 73 | 20 74 6f 20 61 20 63 6f |valuates| to a co|
|000049c0| 6d 6d 61 6e 64 20 73 74 | 72 69 6e 67 2e 22 5d 29 |mmand st|ring."])|
|000049d0| 0a 28 66 73 65 74 20 27 | 74 65 78 2d 64 65 6c 65 |.(fset '|tex-dele|
|000049e0| 74 65 2d 6c 61 73 74 2d | 74 65 6d 70 2d 66 69 6c |te-last-|temp-fil|
|000049f0| 65 73 20 23 5b 6e 69 6c | 20 22 08 ad 9d c1 08 21 |es #[nil| ".....!|
|00004a00| 1a c3 c4 08 21 5c 6e 5c | 22 89 1d ad 8e c6 5c 6e |....!\n\|".....\n|
|00004a10| 0d 40 50 21 88 0d 41 89 | 15 ac 73 c7 2a 87 22 20 |.@P!..A.|..s.*." |
|00004a20| 5b 74 65 78 2d 6c 61 73 | 74 2d 74 65 6d 70 2d 66 |[tex-las|t-temp-f|
|00004a30| 69 6c 65 20 66 69 6c 65 | 2d 6e 61 6d 65 2d 64 69 |ile file|-name-di|
|00004a40| 72 65 63 74 6f 72 79 20 | 64 69 72 20 66 69 6c 65 |rectory |dir file|
|00004a50| 2d 6e 61 6d 65 2d 61 6c | 6c 2d 63 6f 6d 70 6c 65 |-name-al|l-comple|
|00004a60| 74 69 6f 6e 73 20 66 69 | 6c 65 2d 6e 61 6d 65 2d |tions fi|le-name-|
|00004a70| 6e 6f 6e 64 69 72 65 63 | 74 6f 72 79 20 6c 69 73 |nondirec|tory lis|
|00004a80| 74 20 64 65 6c 65 74 65 | 2d 66 69 6c 65 20 6e 69 |t delete|-file ni|
|00004a90| 6c 5d 20 34 20 22 5c 0a | 44 65 6c 65 74 65 20 61 |l] 4 "\.|Delete a|
|00004aa0| 6e 79 20 6a 75 6e 6b 20 | 66 69 6c 65 73 20 66 72 |ny junk |files fr|
|00004ab0| 6f 6d 20 6c 61 73 74 20 | 74 65 6d 70 20 66 69 6c |om last |temp fil|
|00004ac0| 65 2e 22 5d 29 0a 28 61 | 64 64 2d 68 6f 6f 6b 20 |e."]).(a|dd-hook |
|00004ad0| 27 6b 69 6c 6c 2d 65 6d | 61 63 73 2d 68 6f 6f 6b |'kill-em|acs-hook|
|00004ae0| 20 27 74 65 78 2d 64 65 | 6c 65 74 65 2d 6c 61 73 | 'tex-de|lete-las|
|00004af0| 74 2d 74 65 6d 70 2d 66 | 69 6c 65 73 29 0a 28 66 |t-temp-f|iles).(f|
|00004b00| 73 65 74 20 27 74 65 78 | 2d 72 65 67 69 6f 6e 20 |set 'tex|-region |
|00004b10| 23 5b 28 62 65 67 20 65 | 6e 64 29 20 22 c0 20 ab |#[(beg e|nd) ". .|
|00004b20| 85 c1 20 88 aa 83 c2 20 | 88 0b ac 83 c4 20 13 c5 |.. .... |..... ..|
|00004b30| c6 21 1e 07 c8 c9 0e 5c | 6e 21 21 89 1e 0b 0b 50 |.!.....\|n!!....P|
|00004b40| 1e 0c cd 20 88 8a 8c 7e | 88 65 62 88 ce 79 88 60 |... ...~|.eb..y.`|
|00004b50| 65 65 0e 0b 1e 0f 1e 10 | 1e 11 1e 12 65 62 88 d3 |ee......|....eb..|
|00004b60| 0e 14 0e 12 d5 23 ab 99 | d6 79 88 60 16 11 d3 0e |.....#..|.y.`....|
|00004b70| 17 d8 d5 23 ab 88 d9 79 | 88 60 16 10 aa 83 65 16 |...#...y|.`....e.|
|00004b80| 11 da 0e 11 0e 1b 5e 0e | 10 0e 0c dc 50 d8 89 25 |......^.|....P..%|
|00004b90| 88 da 0e 1b 0e 10 5d 0e | 1d 0e 0c dc 50 d5 d8 25 |......].|....P..%|
|00004ba0| 88 2c 0e 1e 1e 1f 0e 07 | 71 88 e0 20 88 e1 63 88 |.,......|q.. ..c.|
|00004bb0| 0e 1f ab 84 0e 1f 63 88 | e2 0e 07 0e 0b 5c 22 88 |......c.|.....\".|
|00004bc0| da 65 64 0e 0c dc 50 d5 | d8 25 88 2b 0e 0c 16 23 |.ed...P.|.%.+...#|
|00004bd0| e4 0e 25 0e 0b 5c 22 88 | e4 0e 26 0e 0c 5c 22 88 |..%..\".|..&..\".|
|00004be0| 0e 0c 16 27 70 89 16 28 | 2b 87 22 20 5b 74 65 78 |...'p..(|+." [tex|
|00004bf0| 2d 73 68 65 6c 6c 2d 72 | 75 6e 6e 69 6e 67 20 74 |-shell-r|unning t|
|00004c00| 65 78 2d 6b 69 6c 6c 2d | 6a 6f 62 20 74 65 78 2d |ex-kill-|job tex-|
|00004c10| 73 74 61 72 74 2d 73 68 | 65 6c 6c 20 74 65 78 2d |start-sh|ell tex-|
|00004c20| 7a 61 70 2d 66 69 6c 65 | 20 74 65 78 2d 67 65 6e |zap-file| tex-gen|
|00004c30| 65 72 61 74 65 2d 7a 61 | 70 2d 66 69 6c 65 2d 6e |erate-za|p-file-n|
|00004c40| 61 6d 65 20 67 65 74 2d | 62 75 66 66 65 72 2d 63 |ame get-|buffer-c|
|00004c50| 72 65 61 74 65 20 22 20 | 54 65 58 2d 4f 75 74 70 |reate " |TeX-Outp|
|00004c60| 75 74 2d 42 75 66 66 65 | 72 22 20 74 65 6d 70 2d |ut-Buffe|r" temp-|
|00004c70| 62 75 66 66 65 72 20 66 | 69 6c 65 2d 6e 61 6d 65 |buffer f|ile-name|
|00004c80| 2d 61 73 2d 64 69 72 65 | 63 74 6f 72 79 20 65 78 |-as-dire|ctory ex|
|00004c90| 70 61 6e 64 2d 66 69 6c | 65 2d 6e 61 6d 65 20 74 |pand-fil|e-name t|
|00004ca0| 65 78 2d 64 69 72 65 63 | 74 6f 72 79 20 7a 61 70 |ex-direc|tory zap|
|00004cb0| 2d 64 69 72 65 63 74 6f | 72 79 20 74 65 78 2d 6f |-directo|ry tex-o|
|00004cc0| 75 74 2d 66 69 6c 65 20 | 74 65 78 2d 64 65 6c 65 |ut-file |tex-dele|
|00004cd0| 74 65 2d 6c 61 73 74 2d | 74 65 6d 70 2d 66 69 6c |te-last-|temp-fil|
|00004ce0| 65 73 20 31 30 30 20 64 | 65 66 61 75 6c 74 2d 64 |es 100 d|efault-d|
|00004cf0| 69 72 65 63 74 6f 72 79 | 20 68 65 6e 64 20 68 62 |irectory| hend hb|
|00004d00| 65 67 20 73 65 61 72 63 | 68 2d 65 6e 64 20 73 65 |eg searc|h-end se|
|00004d10| 61 72 63 68 2d 66 6f 72 | 77 61 72 64 20 74 65 78 |arch-for|ward tex|
|00004d20| 2d 73 74 61 72 74 2d 6f | 66 2d 68 65 61 64 65 72 |-start-o|f-header|
|00004d30| 20 74 20 30 20 74 65 78 | 2d 65 6e 64 2d 6f 66 2d | t 0 tex|-end-of-|
|00004d40| 68 65 61 64 65 72 20 6e | 69 6c 20 31 20 77 72 69 |header n|il 1 wri|
|00004d50| 74 65 2d 72 65 67 69 6f | 6e 20 62 65 67 20 22 2e |te-regio|n beg ".|
|00004d60| 74 65 78 22 20 65 6e 64 | 20 74 65 78 2d 74 72 61 |tex" end| tex-tra|
|00004d70| 69 6c 65 72 20 6c 6f 63 | 61 6c 2d 74 65 78 2d 74 |iler loc|al-tex-t|
|00004d80| 72 61 69 6c 65 72 20 65 | 72 61 73 65 2d 62 75 66 |railer e|rase-buf|
|00004d90| 66 65 72 20 31 30 20 74 | 65 78 2d 73 65 74 2d 62 |fer 10 t|ex-set-b|
|00004da0| 75 66 66 65 72 2d 64 69 | 72 65 63 74 6f 72 79 20 |uffer-di|rectory |
|00004db0| 74 65 78 2d 6c 61 73 74 | 2d 74 65 6d 70 2d 66 69 |tex-last|-temp-fi|
|00004dc0| 6c 65 20 74 65 78 2d 73 | 65 6e 64 2d 63 6f 6d 6d |le tex-s|end-comm|
|00004dd0| 61 6e 64 20 74 65 78 2d | 73 68 65 6c 6c 2d 63 64 |and tex-|shell-cd|
|00004de0| 2d 63 6f 6d 6d 61 6e 64 | 20 74 65 78 2d 63 6f 6d |-command| tex-com|
|00004df0| 6d 61 6e 64 20 74 65 78 | 2d 70 72 69 6e 74 2d 66 |mand tex|-print-f|
|00004e00| 69 6c 65 20 74 65 78 2d | 6c 61 73 74 2d 62 75 66 |ile tex-|last-buf|
|00004e10| 66 65 72 2d 74 65 78 65 | 64 5d 20 37 20 22 5c 0a |fer-texe|d] 7 "\.|
|00004e20| 52 75 6e 20 54 65 58 20 | 6f 6e 20 74 68 65 20 63 |Run TeX |on the c|
|00004e30| 75 72 72 65 6e 74 20 72 | 65 67 69 6f 6e 2c 20 76 |urrent r|egion, v|
|00004e40| 69 61 20 61 20 74 65 6d | 70 6f 72 61 72 79 20 66 |ia a tem|porary f|
|00004e50| 69 6c 65 2e 0a 54 68 65 | 20 66 69 6c 65 27 73 20 |ile..The| file's |
|00004e60| 6e 61 6d 65 20 63 6f 6d | 65 73 20 66 72 6f 6d 20 |name com|es from |
|00004e70| 74 68 65 20 76 61 72 69 | 61 62 6c 65 20 60 74 65 |the vari|able `te|
|00004e80| 78 2d 7a 61 70 2d 66 69 | 6c 65 27 20 61 6e 64 20 |x-zap-fi|le' and |
|00004e90| 74 68 65 0a 76 61 72 69 | 61 62 6c 65 20 60 74 65 |the.vari|able `te|
|00004ea0| 78 2d 64 69 72 65 63 74 | 6f 72 79 27 20 73 61 79 |x-direct|ory' say|
|00004eb0| 73 20 77 68 65 72 65 20 | 74 6f 20 70 75 74 20 69 |s where |to put i|
|00004ec0| 74 2e 0a 0a 49 66 20 74 | 68 65 20 62 75 66 66 65 |t...If t|he buffe|
|00004ed0| 72 20 68 61 73 20 61 20 | 68 65 61 64 65 72 2c 20 |r has a |header, |
|00004ee0| 74 68 65 20 68 65 61 64 | 65 72 20 69 73 20 67 69 |the head|er is gi|
|00004ef0| 76 65 6e 20 74 6f 20 54 | 65 58 20 62 65 66 6f 72 |ven to T|eX befor|
|00004f00| 65 20 74 68 65 0a 72 65 | 67 69 6f 6e 20 69 74 73 |e the.re|gion its|
|00004f10| 65 6c 66 2e 20 20 54 68 | 65 20 62 75 66 66 65 72 |elf. Th|e buffer|
|00004f20| 27 73 20 68 65 61 64 65 | 72 20 69 73 20 61 6c 6c |'s heade|r is all|
|00004f30| 20 6c 69 6e 65 73 20 62 | 65 74 77 65 65 6e 20 74 | lines b|etween t|
|00004f40| 68 65 20 73 74 72 69 6e | 67 73 0a 64 65 66 69 6e |he strin|gs.defin|
|00004f50| 65 64 20 62 79 20 60 74 | 65 78 2d 73 74 61 72 74 |ed by `t|ex-start|
|00004f60| 2d 6f 66 2d 68 65 61 64 | 65 72 27 20 61 6e 64 20 |-of-head|er' and |
|00004f70| 60 74 65 78 2d 65 6e 64 | 2d 6f 66 2d 68 65 61 64 |`tex-end|-of-head|
|00004f80| 65 72 27 20 69 6e 63 6c | 75 73 69 76 65 2e 0a 54 |er' incl|usive..T|
|00004f90| 68 65 20 68 65 61 64 65 | 72 20 6d 75 73 74 20 73 |he heade|r must s|
|00004fa0| 74 61 72 74 20 69 6e 20 | 74 68 65 20 66 69 72 73 |tart in |the firs|
|00004fb0| 74 20 31 30 30 20 6c 69 | 6e 65 73 20 6f 66 20 74 |t 100 li|nes of t|
|00004fc0| 68 65 20 62 75 66 66 65 | 72 2e 0a 0a 54 68 65 20 |he buffe|r...The |
|00004fd0| 76 61 6c 75 65 20 6f 66 | 20 60 74 65 78 2d 74 72 |value of| `tex-tr|
|00004fe0| 61 69 6c 65 72 27 20 69 | 73 20 67 69 76 65 6e 20 |ailer' i|s given |
|00004ff0| 74 6f 20 54 65 58 20 61 | 73 20 69 6e 70 75 74 20 |to TeX a|s input |
|00005000| 61 66 74 65 72 20 74 68 | 65 20 72 65 67 69 6f 6e |after th|e region|
|00005010| 2e 0a 0a 54 68 65 20 76 | 61 6c 75 65 20 6f 66 20 |...The v|alue of |
|00005020| 60 74 65 78 2d 63 6f 6d | 6d 61 6e 64 27 20 73 70 |`tex-com|mand' sp|
|00005030| 65 63 69 66 69 65 73 20 | 74 68 65 20 63 6f 6d 6d |ecifies |the comm|
|00005040| 61 6e 64 20 74 6f 20 75 | 73 65 20 74 6f 20 72 75 |and to u|se to ru|
|00005050| 6e 20 54 65 58 2e 22 20 | 22 72 22 5d 29 0a 28 66 |n TeX." |"r"]).(f|
|00005060| 73 65 74 20 27 74 65 78 | 2d 62 75 66 66 65 72 20 |set 'tex|-buffer |
|00005070| 23 5b 6e 69 6c 20 22 c0 | 65 64 5c 22 87 22 20 5b |#[nil ".|ed\"." [|
|00005080| 74 65 78 2d 72 65 67 69 | 6f 6e 5d 20 33 20 22 5c |tex-regi|on] 3 "\|
|00005090| 0a 52 75 6e 20 54 65 58 | 20 6f 6e 20 63 75 72 72 |.Run TeX| on curr|
|000050a0| 65 6e 74 20 62 75 66 66 | 65 72 2e 20 20 53 65 65 |ent buff|er. See|
|000050b0| 20 5c 5c 5b 74 65 78 2d | 72 65 67 69 6f 6e 5d 20 | \\[tex-|region] |
|000050c0| 66 6f 72 20 6d 6f 72 65 | 20 69 6e 66 6f 72 6d 61 |for more| informa|
|000050d0| 74 69 6f 6e 2e 0a 44 6f | 65 73 20 6e 6f 74 20 73 |tion..Do|es not s|
|000050e0| 61 76 65 20 74 68 65 20 | 62 75 66 66 65 72 2c 20 |ave the |buffer, |
|000050f0| 73 6f 20 69 74 27 73 20 | 75 73 65 66 75 6c 20 66 |so it's |useful f|
|00005100| 6f 72 20 74 72 79 69 6e | 67 20 65 78 70 65 72 69 |or tryin|g experi|
|00005110| 6d 65 6e 74 61 6c 20 76 | 65 72 73 69 6f 6e 73 2e |mental v|ersions.|
|00005120| 0a 53 65 65 20 5c 5c 5b | 74 65 78 2d 66 69 6c 65 |.See \\[|tex-file|
|00005130| 5d 20 66 6f 72 20 61 6e | 20 61 6c 74 65 72 6e 61 |] for an| alterna|
|00005140| 74 69 76 65 2e 22 20 6e | 69 6c 5d 29 0a 28 66 73 |tive." n|il]).(fs|
|00005150| 65 74 20 27 74 65 78 2d | 66 69 6c 65 20 23 5b 6e |et 'tex-|file #[n|
|00005160| 69 6c 20 22 c0 20 ab 86 | c1 c0 20 21 aa 83 c2 c3 |il ". ..|.. !....|
|00005170| 21 c4 c0 20 21 1d 1e 06 | c7 20 88 c8 20 ab 85 c9 |!.. !...|. .. ...|
|00005180| 20 88 aa 83 ca 20 88 cb | 0e 0c 0d 5c 22 88 cb 0e | .... ..|...\"...|
|00005190| 0d 0e 06 5c 22 88 2a 70 | 16 0e c0 20 89 16 0f 87 |...\".*p|... ....|
|000051a0| 22 20 5b 62 75 66 66 65 | 72 2d 66 69 6c 65 2d 6e |" [buffe|r-file-n|
|000051b0| 61 6d 65 20 66 69 6c 65 | 2d 6e 61 6d 65 2d 6e 6f |ame file|-name-no|
|000051c0| 6e 64 69 72 65 63 74 6f | 72 79 20 65 72 72 6f 72 |ndirecto|ry error|
|000051d0| 20 22 42 75 66 66 65 72 | 20 64 6f 65 73 20 6e 6f | "Buffer| does no|
|000051e0| 74 20 73 65 65 6d 20 74 | 6f 20 62 65 20 61 73 73 |t seem t|o be ass|
|000051f0| 6f 63 69 61 74 65 64 20 | 77 69 74 68 20 61 6e 79 |ociated |with any|
|00005200| 20 66 69 6c 65 22 20 66 | 69 6c 65 2d 6e 61 6d 65 | file" f|ile-name|
|00005210| 2d 64 69 72 65 63 74 6f | 72 79 20 66 69 6c 65 2d |-directo|ry file-|
|00005220| 64 69 72 20 74 65 78 2d | 6f 75 74 2d 66 69 6c 65 |dir tex-|out-file|
|00005230| 20 73 61 76 65 2d 73 6f | 6d 65 2d 62 75 66 66 65 | save-so|me-buffe|
|00005240| 72 73 20 74 65 78 2d 73 | 68 65 6c 6c 2d 72 75 6e |rs tex-s|hell-run|
|00005250| 6e 69 6e 67 20 74 65 78 | 2d 6b 69 6c 6c 2d 6a 6f |ning tex|-kill-jo|
|00005260| 62 20 74 65 78 2d 73 74 | 61 72 74 2d 73 68 65 6c |b tex-st|art-shel|
|00005270| 6c 20 74 65 78 2d 73 65 | 6e 64 2d 63 6f 6d 6d 61 |l tex-se|nd-comma|
|00005280| 6e 64 20 74 65 78 2d 73 | 68 65 6c 6c 2d 63 64 2d |nd tex-s|hell-cd-|
|00005290| 63 6f 6d 6d 61 6e 64 20 | 74 65 78 2d 63 6f 6d 6d |command |tex-comm|
|000052a0| 61 6e 64 20 74 65 78 2d | 6c 61 73 74 2d 62 75 66 |and tex-|last-buf|
|000052b0| 66 65 72 2d 74 65 78 65 | 64 20 74 65 78 2d 70 72 |fer-texe|d tex-pr|
|000052c0| 69 6e 74 2d 66 69 6c 65 | 5d 20 33 20 22 5c 0a 50 |int-file|] 3 "\.P|
|000052d0| 72 6f 6d 70 74 20 74 6f | 20 73 61 76 65 20 61 6c |rompt to| save al|
|000052e0| 6c 20 62 75 66 66 65 72 | 73 20 61 6e 64 20 72 75 |l buffer|s and ru|
|000052f0| 6e 20 54 65 58 20 28 6f | 72 20 4c 61 54 65 58 29 |n TeX (o|r LaTeX)|
|00005300| 20 6f 6e 20 63 75 72 72 | 65 6e 74 20 62 75 66 66 | on curr|ent buff|
|00005310| 65 72 27 73 20 66 69 6c | 65 2e 0a 54 68 69 73 20 |er's fil|e..This |
|00005320| 66 75 6e 63 74 69 6f 6e | 20 69 73 20 6d 6f 72 65 |function| is more|
|00005330| 20 75 73 65 66 75 6c 20 | 74 68 61 6e 20 5c 5c 5b | useful |than \\[|
|00005340| 74 65 78 2d 62 75 66 66 | 65 72 5d 20 77 68 65 6e |tex-buff|er] when|
|00005350| 20 79 6f 75 20 6e 65 65 | 64 20 74 68 65 0a 60 2e | you nee|d the.`.|
|00005360| 61 75 78 27 20 66 69 6c | 65 20 6f 66 20 4c 61 54 |aux' fil|e of LaT|
|00005370| 65 58 20 74 6f 20 68 61 | 76 65 20 74 68 65 20 63 |eX to ha|ve the c|
|00005380| 6f 72 72 65 63 74 20 6e | 61 6d 65 2e 22 20 6e 69 |orrect n|ame." ni|
|00005390| 6c 5d 29 0a 28 66 73 65 | 74 20 27 74 65 78 2d 67 |l]).(fse|t 'tex-g|
|000053a0| 65 6e 65 72 61 74 65 2d | 7a 61 70 2d 66 69 6c 65 |enerate-|zap-file|
|000053b0| 2d 6e 61 6d 65 20 23 5b | 6e 69 6c 20 22 c0 c1 c2 |-name #[|nil "...|
|000053c0| c3 c4 21 21 c5 c6 20 21 | 23 87 22 20 5b 66 6f 72 |..!!.. !|#." [for|
|000053d0| 6d 61 74 20 22 23 74 7a | 25 64 25 73 22 20 70 72 |mat "#tz|%d%s" pr|
|000053e0| 6f 63 65 73 73 2d 69 64 | 20 67 65 74 2d 62 75 66 |ocess-id| get-buf|
|000053f0| 66 65 72 2d 70 72 6f 63 | 65 73 73 20 22 2a 74 65 |fer-proc|ess "*te|
|00005400| 78 2d 73 68 65 6c 6c 2a | 22 20 74 65 78 2d 73 74 |x-shell*|" tex-st|
|00005410| 72 69 70 2d 64 6f 74 73 | 20 73 79 73 74 65 6d 2d |rip-dots| system-|
|00005420| 6e 61 6d 65 5d 20 35 20 | 22 5c 0a 47 65 6e 65 72 |name] 5 |"\.Gener|
|00005430| 61 74 65 20 61 20 75 6e | 69 71 75 65 20 6e 61 6d |ate a un|ique nam|
|00005440| 65 20 73 75 69 74 61 62 | 6c 65 20 66 6f 72 20 75 |e suitab|le for u|
|00005450| 73 65 20 61 73 20 61 20 | 66 69 6c 65 20 6e 61 6d |se as a |file nam|
|00005460| 65 2e 22 5d 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |e."]).(b|yte-code|
|00005470| 20 22 c0 c1 4d 88 c2 c3 | 4d 88 c4 c5 4d 87 22 20 | "..M...|M...M." |
|00005480| 5b 74 65 78 2d 73 74 72 | 69 70 2d 64 6f 74 73 20 |[tex-str|ip-dots |
|00005490| 23 5b 28 73 29 20 22 c0 | 09 21 11 c2 c3 09 5c 22 |#[(s) ".|.!....\"|
|000054a0| ab 88 09 c4 94 c5 49 88 | aa 72 09 87 22 20 5b 63 |......I.|.r.." [c|
|000054b0| 6f 70 79 2d 73 65 71 75 | 65 6e 63 65 20 73 20 73 |opy-sequ|ence s s|
|000054c0| 74 72 69 6e 67 2d 6d 61 | 74 63 68 20 22 5c 5c 2e |tring-ma|tch "\\.|
|000054d0| 22 20 30 20 34 35 5d 20 | 33 5d 20 74 65 78 2d 65 |" 0 45] |3] tex-e|
|000054e0| 78 70 61 6e 64 2d 66 69 | 6c 65 73 20 23 5b 28 73 |xpand-fi|les #[(s|
|000054f0| 29 20 22 c0 c1 1a 1b c4 | c5 0e 06 5c 6e 23 ab 8e |) ".....|...\n#..|
|00005500| 0e 06 5c 6e c1 94 4f 0b | 42 13 c1 95 12 aa 6a 5c |..\n..O.|B.....j\|
|00005510| 6e c1 55 ac 88 0e 06 5c | 6e c0 4f 0b 42 13 c7 c8 |n.U....\|n.O.B...|
|00005520| 0b 9f c5 23 2a 87 22 20 | 5b 6e 69 6c 20 30 20 73 |...#*." |[nil 0 s|
|00005530| 74 61 72 74 20 65 6c 74 | 73 20 73 74 72 69 6e 67 |tart elt|s string|
|00005540| 2d 6d 61 74 63 68 20 22 | 3a 22 20 73 20 6d 61 70 |-match "|:" s map|
|00005550| 63 6f 6e 63 61 74 20 65 | 78 70 61 6e 64 2d 66 69 |concat e|xpand-fi|
|00005560| 6c 65 2d 6e 61 6d 65 5d | 20 34 5d 20 74 65 78 2d |le-name]| 4] tex-|
|00005570| 73 68 65 6c 6c 2d 72 75 | 6e 6e 69 6e 67 20 23 5b |shell-ru|nning #[|
|00005580| 6e 69 6c 20 22 c0 c1 21 | ad 87 c2 c0 c1 21 21 c3 |nil "..!|.....!!.|
|00005590| 3d 87 22 20 5b 67 65 74 | 2d 70 72 6f 63 65 73 73 |=." [get|-process|
|000055a0| 20 22 74 65 78 2d 73 68 | 65 6c 6c 22 20 70 72 6f | "tex-sh|ell" pro|
|000055b0| 63 65 73 73 2d 73 74 61 | 74 75 73 20 72 75 6e 5d |cess-sta|tus run]|
|000055c0| 20 33 5d 5d 20 32 29 0a | 28 66 73 65 74 20 27 74 | 3]] 2).|(fset 't|
|000055d0| 65 78 2d 6b 69 6c 6c 2d | 6a 6f 62 20 23 5b 6e 69 |ex-kill-|job #[ni|
|000055e0| 6c 20 22 c0 c1 c2 21 c3 | 5c 22 87 22 20 5b 71 75 |l "...!.|\"." [qu|
|000055f0| 69 74 2d 70 72 6f 63 65 | 73 73 20 67 65 74 2d 70 |it-proce|ss get-p|
|00005600| 72 6f 63 65 73 73 20 22 | 74 65 78 2d 73 68 65 6c |rocess "|tex-shel|
|00005610| 6c 22 20 74 5d 20 33 20 | 22 5c 0a 4b 69 6c 6c 20 |l" t] 3 |"\.Kill |
|00005620| 74 68 65 20 63 75 72 72 | 65 6e 74 6c 79 20 72 75 |the curr|ently ru|
|00005630| 6e 6e 69 6e 67 20 54 65 | 58 20 6a 6f 62 2e 22 20 |nning Te|X job." |
|00005640| 6e 69 6c 5d 29 0a 28 66 | 73 65 74 20 27 74 65 78 |nil]).(f|set 'tex|
|00005650| 2d 72 65 63 65 6e 74 65 | 72 2d 6f 75 74 70 75 74 |-recente|r-output|
|00005660| 2d 62 75 66 66 65 72 20 | 23 5b 28 6c 69 6e 65 6e |-buffer |#[(linen|
|00005670| 75 6d 29 20 22 c0 c1 21 | 70 1a 89 1b ac 85 c4 c5 |um) "..!|p.......|
|00005680| 21 aa 9f c6 0b 21 88 c7 | 0b 21 88 64 62 88 c8 0e |!....!..|.!.db...|
|00005690| 09 ab 86 ca 0e 09 21 aa | 84 cb 20 cc a5 21 88 c6 |......!.|.. ..!..|
|000056a0| 5c 6e 21 2a 87 22 20 5b | 67 65 74 2d 62 75 66 66 |\n!*." [|get-buff|
|000056b0| 65 72 20 22 2a 74 65 78 | 2d 73 68 65 6c 6c 2a 22 |er "*tex|-shell*"|
|000056c0| 20 6f 6c 64 2d 62 75 66 | 66 65 72 20 74 65 78 2d | old-buf|fer tex-|
|000056d0| 73 68 65 6c 6c 20 6d 65 | 73 73 61 67 65 20 22 4e |shell me|ssage "N|
|000056e0| 6f 20 54 65 58 20 6f 75 | 74 70 75 74 20 62 75 66 |o TeX ou|tput buf|
|000056f0| 66 65 72 22 20 70 6f 70 | 2d 74 6f 2d 62 75 66 66 |fer" pop|-to-buff|
|00005700| 65 72 20 62 75 72 79 2d | 62 75 66 66 65 72 20 72 |er bury-|buffer r|
|00005710| 65 63 65 6e 74 65 72 20 | 6c 69 6e 65 6e 75 6d 20 |ecenter |linenum |
|00005720| 70 72 65 66 69 78 2d 6e | 75 6d 65 72 69 63 2d 76 |prefix-n|umeric-v|
|00005730| 61 6c 75 65 20 77 69 6e | 64 6f 77 2d 68 65 69 67 |alue win|dow-heig|
|00005740| 68 74 20 32 5d 20 34 20 | 22 5c 0a 52 65 64 69 73 |ht 2] 4 |"\.Redis|
|00005750| 70 6c 61 79 20 62 75 66 | 66 65 72 20 6f 66 20 54 |play buf|fer of T|
|00005760| 65 58 20 6a 6f 62 20 6f | 75 74 70 75 74 20 73 6f |eX job o|utput so|
|00005770| 20 74 68 61 74 20 6d 6f | 73 74 20 72 65 63 65 6e | that mo|st recen|
|00005780| 74 20 6f 75 74 70 75 74 | 20 63 61 6e 20 62 65 20 |t output| can be |
|00005790| 73 65 65 6e 2e 0a 54 68 | 65 20 6c 61 73 74 20 6c |seen..Th|e last l|
|000057a0| 69 6e 65 20 6f 66 20 74 | 68 65 20 62 75 66 66 65 |ine of t|he buffe|
|000057b0| 72 20 69 73 20 64 69 73 | 70 6c 61 79 65 64 20 6f |r is dis|played o|
|000057c0| 6e 0a 6c 69 6e 65 20 4c | 49 4e 45 20 6f 66 20 74 |n.line L|INE of t|
|000057d0| 68 65 20 77 69 6e 64 6f | 77 2c 20 6f 72 20 63 65 |he windo|w, or ce|
|000057e0| 6e 74 65 72 65 64 20 69 | 66 20 4c 49 4e 45 20 69 |ntered i|f LINE i|
|000057f0| 73 20 6e 69 6c 2e 22 20 | 22 50 22 5d 29 0a 28 66 |s nil." |"P"]).(f|
|00005800| 73 65 74 20 27 74 65 78 | 2d 70 72 69 6e 74 20 23 |set 'tex|-print #|
|00005810| 5b 28 26 6f 70 74 69 6f | 6e 61 6c 20 61 6c 74 29 |[(&optio|nal alt)|
|00005820| 20 22 c0 09 c2 5c 22 c3 | 1c 1d 70 0e 06 9a ac 8e | "...\".|..p.....|
|00005830| c7 c0 c8 20 c2 5c 22 89 | 14 0d 5c 22 ab 82 0c 15 |... .\".|..\"....|
|00005840| c9 0d 21 ac 85 ca cb 21 | aa 8e cc 0e 0d ab 84 0e |..!....!|........|
|00005850| 0e aa 82 0e 0f 0d d0 23 | 2a 87 22 20 5b 74 65 78 |.......#|*." [tex|
|00005860| 2d 61 70 70 65 6e 64 20 | 74 65 78 2d 70 72 69 6e |-append |tex-prin|
|00005870| 74 2d 66 69 6c 65 20 22 | 2e 64 76 69 22 20 6e 69 |t-file "|.dvi" ni|
|00005880| 6c 20 74 65 73 74 2d 6e | 61 6d 65 20 70 72 69 6e |l test-n|ame prin|
|00005890| 74 2d 66 69 6c 65 2d 6e | 61 6d 65 2d 64 76 69 20 |t-file-n|ame-dvi |
|000058a0| 74 65 78 2d 6c 61 73 74 | 2d 62 75 66 66 65 72 2d |tex-last|-buffer-|
|000058b0| 74 65 78 65 64 20 66 69 | 6c 65 2d 6e 65 77 65 72 |texed fi|le-newer|
|000058c0| 2d 74 68 61 6e 2d 66 69 | 6c 65 2d 70 20 62 75 66 |-than-fi|le-p buf|
|000058d0| 66 65 72 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 66 69 |fer-file|-name fi|
|000058e0| 6c 65 2d 65 78 69 73 74 | 73 2d 70 20 65 72 72 6f |le-exist|s-p erro|
|000058f0| 72 20 22 4e 6f 20 61 70 | 70 72 6f 70 72 69 61 74 |r "No ap|propriat|
|00005900| 65 20 60 2e 64 76 69 27 | 20 66 69 6c 65 20 63 6f |e `.dvi'| file co|
|00005910| 75 6c 64 20 62 65 20 66 | 6f 75 6e 64 22 20 74 65 |uld be f|ound" te|
|00005920| 78 2d 73 65 6e 64 2d 63 | 6f 6d 6d 61 6e 64 20 61 |x-send-c|ommand a|
|00005930| 6c 74 20 74 65 78 2d 61 | 6c 74 2d 64 76 69 2d 70 |lt tex-a|lt-dvi-p|
|00005940| 72 69 6e 74 2d 63 6f 6d | 6d 61 6e 64 20 74 65 78 |rint-com|mand tex|
|00005950| 2d 64 76 69 2d 70 72 69 | 6e 74 2d 63 6f 6d 6d 61 |-dvi-pri|nt-comma|
|00005960| 6e 64 20 74 5d 20 34 20 | 22 5c 0a 50 72 69 6e 74 |nd t] 4 |"\.Print|
|00005970| 20 74 68 65 20 2e 64 76 | 69 20 66 69 6c 65 20 6d | the .dv|i file m|
|00005980| 61 64 65 20 62 79 20 5c | 5c 5b 74 65 78 2d 72 65 |ade by \|\[tex-re|
|00005990| 67 69 6f 6e 5d 2c 20 5c | 5c 5b 74 65 78 2d 62 75 |gion], \|\[tex-bu|
|000059a0| 66 66 65 72 5d 20 6f 72 | 20 5c 5c 5b 74 65 78 2d |ffer] or| \\[tex-|
|000059b0| 66 69 6c 65 5d 2e 0a 52 | 75 6e 73 20 74 68 65 20 |file]..R|uns the |
|000059c0| 73 68 65 6c 6c 20 63 6f | 6d 6d 61 6e 64 20 64 65 |shell co|mmand de|
|000059d0| 66 69 6e 65 64 20 62 79 | 20 74 65 78 2d 64 76 69 |fined by| tex-dvi|
|000059e0| 2d 70 72 69 6e 74 2d 63 | 6f 6d 6d 61 6e 64 2e 20 |-print-c|ommand. |
|000059f0| 20 49 66 20 70 72 65 66 | 69 78 20 61 72 67 75 6d | If pref|ix argum|
|00005a00| 65 6e 74 0a 69 73 20 70 | 72 6f 76 69 64 65 64 2c |ent.is p|rovided,|
|00005a10| 20 75 73 65 20 74 68 65 | 20 61 6c 74 65 72 6e 61 | use the| alterna|
|00005a20| 74 69 76 65 20 63 6f 6d | 6d 61 6e 64 2c 20 74 65 |tive com|mand, te|
|00005a30| 78 2d 61 6c 74 2d 64 76 | 69 2d 70 72 69 6e 74 2d |x-alt-dv|i-print-|
|00005a40| 63 6f 6d 6d 61 6e 64 2e | 22 20 22 50 22 5d 29 0a |command.|" "P"]).|
|00005a50| 28 66 73 65 74 20 27 74 | 65 78 2d 76 69 65 77 20 |(fset 't|ex-view |
|00005a60| 23 5b 6e 69 6c 20 22 08 | 19 c2 20 29 87 22 20 5b |#[nil ".|.. )." [|
|00005a70| 74 65 78 2d 64 76 69 2d | 76 69 65 77 2d 63 6f 6d |tex-dvi-|view-com|
|00005a80| 6d 61 6e 64 20 74 65 78 | 2d 64 76 69 2d 70 72 69 |mand tex|-dvi-pri|
|00005a90| 6e 74 2d 63 6f 6d 6d 61 | 6e 64 20 74 65 78 2d 70 |nt-comma|nd tex-p|
|00005aa0| 72 69 6e 74 5d 20 31 20 | 22 5c 0a 50 72 65 76 69 |rint] 1 |"\.Previ|
|00005ab0| 65 77 20 74 68 65 20 6c | 61 73 74 20 60 2e 64 76 |ew the l|ast `.dv|
|00005ac0| 69 27 20 66 69 6c 65 20 | 6d 61 64 65 20 62 79 20 |i' file |made by |
|00005ad0| 72 75 6e 6e 69 6e 67 20 | 54 65 58 20 75 6e 64 65 |running |TeX unde|
|00005ae0| 72 20 45 6d 61 63 73 2e | 0a 54 68 69 73 20 6d 65 |r Emacs.|.This me|
|00005af0| 61 6e 73 2c 20 6d 61 64 | 65 20 75 73 69 6e 67 20 |ans, mad|e using |
|00005b00| 5c 5c 5b 74 65 78 2d 72 | 65 67 69 6f 6e 5d 2c 20 |\\[tex-r|egion], |
|00005b10| 5c 5c 5b 74 65 78 2d 62 | 75 66 66 65 72 5d 20 6f |\\[tex-b|uffer] o|
|00005b20| 72 20 5c 5c 5b 74 65 78 | 2d 66 69 6c 65 5d 2e 0a |r \\[tex|-file]..|
|00005b30| 54 68 65 20 76 61 72 69 | 61 62 6c 65 20 60 74 65 |The vari|able `te|
|00005b40| 78 2d 64 76 69 2d 76 69 | 65 77 2d 63 6f 6d 6d 61 |x-dvi-vi|ew-comma|
|00005b50| 6e 64 27 20 73 70 65 63 | 69 66 69 65 73 20 74 68 |nd' spec|ifies th|
|00005b60| 65 20 73 68 65 6c 6c 20 | 63 6f 6d 6d 61 6e 64 20 |e shell |command |
|00005b70| 66 6f 72 20 70 72 65 76 | 69 65 77 2e 22 20 6e 69 |for prev|iew." ni|
|00005b80| 6c 5d 29 0a 28 66 73 65 | 74 20 27 74 65 78 2d 61 |l]).(fse|t 'tex-a|
|00005b90| 70 70 65 6e 64 20 23 5b | 28 66 69 6c 65 2d 6e 61 |ppend #[|(file-na|
|00005ba0| 6d 65 20 73 75 66 66 69 | 78 29 20 22 08 3b ab 93 |me suffi|x) ".;..|
|00005bb0| c1 08 21 1a c3 08 21 5c | 6e c4 c5 c6 5c 6e 5c 22 |..!...!\|n...\n\"|
|00005bc0| 4f 0e 07 51 29 87 c8 87 | 22 20 5b 66 69 6c 65 2d |O..Q)...|" [file-|
|00005bd0| 6e 61 6d 65 20 66 69 6c | 65 2d 6e 61 6d 65 2d 6e |name fil|e-name-n|
|00005be0| 6f 6e 64 69 72 65 63 74 | 6f 72 79 20 66 69 6c 65 |ondirect|ory file|
|00005bf0| 20 66 69 6c 65 2d 6e 61 | 6d 65 2d 64 69 72 65 63 | file-na|me-direc|
|00005c00| 74 6f 72 79 20 30 20 73 | 74 72 69 6e 67 2d 6d 61 |tory 0 s|tring-ma|
|00005c10| 74 63 68 20 22 5c 5c 2e | 22 20 73 75 66 66 69 78 |tch "\\.|" suffix|
|00005c20| 20 22 20 22 5d 20 36 20 | 22 5c 0a 41 70 70 65 6e | " "] 6 |"\.Appen|
|00005c30| 64 20 74 6f 20 46 49 4c | 45 4e 41 4d 45 20 74 68 |d to FIL|ENAME th|
|00005c40| 65 20 73 75 66 66 69 78 | 20 53 55 46 46 49 58 2c |e suffix| SUFFIX,|
|00005c50| 20 75 73 69 6e 67 20 73 | 61 6d 65 20 61 6c 67 6f | using s|ame algo|
|00005c60| 72 69 74 68 6d 20 54 65 | 58 20 75 73 65 73 2e 0a |rithm Te|X uses..|
|00005c70| 53 63 61 6e 73 20 66 6f | 72 20 74 68 65 20 66 69 |Scans fo|r the fi|
|00005c80| 72 73 74 20 28 6e 6f 74 | 20 6c 61 73 74 29 20 70 |rst (not| last) p|
|00005c90| 65 72 69 6f 64 2e 0a 4e | 6f 20 70 65 72 69 6f 64 |eriod..N|o period|
|00005ca0| 20 69 73 20 72 65 74 61 | 69 6e 65 64 20 69 6d 6d | is reta|ined imm|
|00005cb0| 65 64 69 61 74 65 6c 79 | 20 62 65 66 6f 72 65 20 |ediately| before |
|00005cc0| 53 55 46 46 49 58 2c 0a | 73 6f 20 6e 6f 72 6d 61 |SUFFIX,.|so norma|
|00005cd0| 6c 6c 79 20 53 55 46 46 | 49 58 20 73 74 61 72 74 |lly SUFF|IX start|
|00005ce0| 73 20 77 69 74 68 20 6f | 6e 65 2e 22 5d 29 0a 28 |s with o|ne."]).(|
|00005cf0| 66 73 65 74 20 27 74 65 | 78 2d 73 68 6f 77 2d 70 |fset 'te|x-show-p|
|00005d00| 72 69 6e 74 2d 71 75 65 | 75 65 20 23 5b 6e 69 6c |rint-que|ue #[nil|
|00005d10| 20 22 c0 20 ab 85 c1 20 | 88 aa 83 c2 20 88 c3 0c | ". ... |.... ...|
|00005d20| 21 87 22 20 5b 74 65 78 | 2d 73 68 65 6c 6c 2d 72 |!." [tex|-shell-r|
|00005d30| 75 6e 6e 69 6e 67 20 74 | 65 78 2d 6b 69 6c 6c 2d |unning t|ex-kill-|
|00005d40| 6a 6f 62 20 74 65 78 2d | 73 74 61 72 74 2d 73 68 |job tex-|start-sh|
|00005d50| 65 6c 6c 20 74 65 78 2d | 73 65 6e 64 2d 63 6f 6d |ell tex-|send-com|
|00005d60| 6d 61 6e 64 20 74 65 78 | 2d 73 68 6f 77 2d 71 75 |mand tex|-show-qu|
|00005d70| 65 75 65 2d 63 6f 6d 6d | 61 6e 64 5d 20 32 20 22 |eue-comm|and] 2 "|
|00005d80| 5c 0a 53 68 6f 77 20 74 | 68 65 20 70 72 69 6e 74 |\.Show t|he print|
|00005d90| 20 71 75 65 75 65 20 74 | 68 61 74 20 5c 5c 5b 74 | queue t|hat \\[t|
|00005da0| 65 78 2d 70 72 69 6e 74 | 5d 20 70 75 74 20 79 6f |ex-print|] put yo|
|00005db0| 75 72 20 6a 6f 62 20 6f | 6e 2e 0a 52 75 6e 73 20 |ur job o|n..Runs |
|00005dc0| 74 68 65 20 73 68 65 6c | 6c 20 63 6f 6d 6d 61 6e |the shel|l comman|
|00005dd0| 64 20 64 65 66 69 6e 65 | 64 20 62 79 20 74 65 78 |d define|d by tex|
|00005de0| 2d 73 68 6f 77 2d 71 75 | 65 75 65 2d 63 6f 6d 6d |-show-qu|eue-comm|
|00005df0| 61 6e 64 2e 22 20 6e 69 | 6c 5d 29 0a 28 66 73 65 |and." ni|l]).(fse|
|00005e00| 74 20 27 74 65 78 2d 62 | 69 62 74 65 78 2d 66 69 |t 'tex-b|ibtex-fi|
|00005e10| 6c 65 20 23 5b 6e 69 6c | 20 22 c0 20 ab 85 c1 20 |le #[nil| ". ... |
|00005e20| 88 aa 83 c2 20 88 c3 c4 | c5 20 21 c6 5c 22 c7 c5 |.... ...|. !.\"..|
|00005e30| 20 21 1e 08 1e 09 ca 0e | 0b 0e 08 5c 22 88 ca 0e | !......|...\"...|
|00005e40| 0c 0e 09 5c 22 2a 87 22 | 20 5b 74 65 78 2d 73 68 |...\"*."| [tex-sh|
|00005e50| 65 6c 6c 2d 72 75 6e 6e | 69 6e 67 20 74 65 78 2d |ell-runn|ing tex-|
|00005e60| 6b 69 6c 6c 2d 6a 6f 62 | 20 74 65 78 2d 73 74 61 |kill-job| tex-sta|
|00005e70| 72 74 2d 73 68 65 6c 6c | 20 74 65 78 2d 61 70 70 |rt-shell| tex-app|
|00005e80| 65 6e 64 20 66 69 6c 65 | 2d 6e 61 6d 65 2d 6e 6f |end file|-name-no|
|00005e90| 6e 64 69 72 65 63 74 6f | 72 79 20 62 75 66 66 65 |ndirecto|ry buffe|
|00005ea0| 72 2d 66 69 6c 65 2d 6e | 61 6d 65 20 22 22 20 66 |r-file-n|ame "" f|
|00005eb0| 69 6c 65 2d 6e 61 6d 65 | 2d 64 69 72 65 63 74 6f |ile-name|-directo|
|00005ec0| 72 79 20 66 69 6c 65 2d | 64 69 72 20 74 65 78 2d |ry file-|dir tex-|
|00005ed0| 6f 75 74 2d 66 69 6c 65 | 20 74 65 78 2d 73 65 6e |out-file| tex-sen|
|00005ee0| 64 2d 63 6f 6d 6d 61 6e | 64 20 74 65 78 2d 73 68 |d-comman|d tex-sh|
|00005ef0| 65 6c 6c 2d 63 64 2d 63 | 6f 6d 6d 61 6e 64 20 62 |ell-cd-c|ommand b|
|00005f00| 69 62 74 65 78 2d 63 6f | 6d 6d 61 6e 64 5d 20 33 |ibtex-co|mmand] 3|
|00005f10| 20 22 5c 0a 52 75 6e 20 | 42 69 62 54 65 58 20 6f | "\.Run |BibTeX o|
|00005f20| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 62 75 |n the cu|rrent bu|
|00005f30| 66 66 65 72 27 73 20 66 | 69 6c 65 2e 22 20 6e 69 |ffer's f|ile." ni|
|00005f40| 6c 5d 29 0a 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |l]).(byt|e-code "|
|00005f50| c0 c1 21 88 c2 c3 21 87 | 22 20 5b 72 75 6e 2d 68 |..!...!.|" [run-h|
|00005f60| 6f 6f 6b 73 20 74 65 78 | 2d 6d 6f 64 65 2d 6c 6f |ooks tex|-mode-lo|
|00005f70| 61 64 2d 68 6f 6f 6b 20 | 70 72 6f 76 69 64 65 20 |ad-hook |provide |
|00005f80| 74 65 78 2d 6d 6f 64 65 | 5d 20 32 29 0a |tex-mode|] 2). |
+--------+-------------------------+-------------------------+--------+--------+